Package com.pingidentity.access
Class SecretManagerAccessor
java.lang.Object
com.pingidentity.access.SecretManagerAccessor
This class provides access to supported secret manager information.
- Since:
- 11.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic SecretInfogetSecretInfo(String secretReference, Map<String, Object> inParameters) Get the SecretInfo for the given secret reference from the Secret Manager.
-
Method Details
-
getSecretInfo
public static SecretInfo getSecretInfo(String secretReference, Map<String, Object> inParameters) throws SecretManagerExceptionGet the SecretInfo for the given secret reference from the Secret Manager.- Parameters:
secretReference- Identifier used to retrieve the associated secret (OBF:MGR:{secretManagerId}:{secretId}).inParameters-SecretManagerAdditional input parameters used by the Secret Manager to retrieve the secret.- Returns:
- SecretInfo
SecretInfocontaining the secret and other attributes. - Throws:
SecretManagerException- If the secret manager has issues getting the secret.IllegalArgumentException- If the secret reference is invalid.
-