Class SimpleCredentialName

java.lang.Object
org.springframework.credhub.support.CredentialName
org.springframework.credhub.support.SimpleCredentialName

public class SimpleCredentialName extends CredentialName
The client-provided name of a credential. The name consists of one or more segments. When the value of each segment are combined the full name of the credential will be of the form /segment1/segment2/segment3. Objects of this type are created by clients and included as part of requests.
Author:
Scott Frederick
  • Constructor Details

    • SimpleCredentialName

      public SimpleCredentialName(String... segments)
      Create a SimpleCredentialName from the provided segments.
      Parameters:
      segments - the credential name segments; must not be null and must contain at least one segment
  • Method Details