Class SecretManagerAccessor


  • public class SecretManagerAccessor
    extends Object
    This class provides access to supported secret manager information.
    Since:
    11.0
    • 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 - SecretManager Additional input parameters used by the Secret Manager to retrieve the secret.
        Returns:
        SecretInfo SecretInfo containing the secret and other attributes.
        Throws:
        SecretManagerException - If the secret manager has issues getting the secret.
        IllegalArgumentException - If the secret reference is invalid.