Package com.pingidentity.access
Class SecretManagerAccessor
- java.lang.Object
-
- com.pingidentity.access.SecretManagerAccessor
-
public class SecretManagerAccessor extends Object
This class provides access to supported secret manager information.- Since:
- 11.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecretInfogetSecretInfo(String secretReference, Map<String,Object> inParameters)Get the SecretInfo for the given secret reference from the Secret Manager.
-
-
-
Method Detail
-
getSecretInfo
public static SecretInfo getSecretInfo(String secretReference, Map<String,Object> inParameters) throws SecretManagerException
Get 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.
-
-