Class SecretInfo

java.lang.Object
com.pingidentity.sdk.secretmanager.SecretInfo

public class SecretInfo extends Object
The information about the secret returned from SecretManager.getSecretInfo(String, java.util.Map).
Since:
11.0
  • Field Details

    • USERNAME_ATTRIBUTE_NAME

      public static final String USERNAME_ATTRIBUTE_NAME
      The attribute key for the active username for the secret, if one is defined.
      See Also:
  • Constructor Details

    • SecretInfo

      public SecretInfo(String secret, AttributeMap attributes)
      The constructor for the SecretInfo class.
      Parameters:
      secret - the secret
      attributes - the attributes (optional)
  • Method Details

    • getSecret

      public String getSecret()
      Gets the secret retrieved from the given Secret Manager.
      Returns:
      the secret
    • getAttributes

      public AttributeMap getAttributes()
      Gets the attributes retrieved from the given Secret Manager.
      Returns:
      the attributes