Interface SecretManager
- All Superinterfaces:
ConfigurablePlugin,DescribablePlugin,Plugin
This interface defines the methods that the PingFederate server calls to retrieve secrets from
external secret storage services.
- Since:
- 11.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetSecretInfo(String secretId, Map<String, Object> inParameters) Gets the secret for the given secret id and input parameters from an external secret storage service.Methods inherited from interface com.pingidentity.sdk.ConfigurablePlugin
configureMethods inherited from interface com.pingidentity.sdk.DescribablePlugin
getPluginDescriptor
-
Field Details
-
SECRET_REFERENCE_PREFIX
The prefix for secret references. Secret Reference format: 'OBF:MGR:{secretManagerId}:{secretId}'.- See Also:
-
IN_PARAMETER_NAME_USERNAME
The input parameter key for the configured username associated with the secret in the "inParameters" map.- See Also:
-
-
Method Details
-
getSecretInfo
SecretInfo getSecretInfo(String secretId, Map<String, Object> inParameters) throws SecretManagerExceptionGets the secret for the given secret id and input parameters from an external secret storage service.- Parameters:
secretId- the identifier used to identify a secret in an external secret storage serviceinParameters- the input parameters- Returns:
SecretInfo- Throws:
SecretManagerException- if there are errors retrieving the secret
-