Class SecretInfo
java.lang.Object
com.pingidentity.sdk.secretmanager.SecretInfo
The information about the secret returned from
SecretManager.getSecretInfo(String, java.util.Map).- Since:
- 11.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe attribute key for the active username for the secret, if one is defined. -
Constructor Summary
ConstructorsConstructorDescriptionSecretInfo(String secret, AttributeMap attributes) The constructor for the SecretInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGets the attributes retrieved from the given Secret Manager.Gets the secret retrieved from the given Secret Manager.
-
Field Details
-
USERNAME_ATTRIBUTE_NAME
The attribute key for the active username for the secret, if one is defined.- See Also:
-
-
Constructor Details
-
SecretInfo
The constructor for the SecretInfo class.- Parameters:
secret- the secretattributes- the attributes (optional)
-
-
Method Details
-
getSecret
Gets the secret retrieved from the given Secret Manager.- Returns:
- the secret
-
getAttributes
Gets the attributes retrieved from the given Secret Manager.- Returns:
- the attributes
-