Class SecretsManagerCredentials


  • public class SecretsManagerCredentials
    extends Object
    Holds the credentials retrieved from SecretsManager.
    • Constructor Detail

      • SecretsManagerCredentials

        public SecretsManagerCredentials​(String secretName,
                                         String username,
                                         String password,
                                         String arn)
    • Method Detail

      • getSecretName

        public String getSecretName()
        Public accessor to the secret name used to retrieve the credentials from SecretsManager.
        Returns:
        Secret name (String).
      • getUsername

        public String getUsername()
        Public accessor to the username retrieved from SecretsManager.
        Returns:
        Username (String).
      • getPassword

        public String getPassword()
        Public accessor to the password retrieved from SecretsManager.
        Returns:
        Password (String).
      • getArn

        public String getArn()
        Public accessor to the arn associated with the secret retrieved from SecretsManager.
        Returns:
        Arn (String).