Class SecretInfo

    • Field Detail

      • USERNAME_ATTRIBUTE_NAME

        public static final String USERNAME_ATTRIBUTE_NAME
        The attribute key for the active username for the secret, if one is defined.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SecretInfo

        public SecretInfo​(String secret,
                          AttributeMap attributes)
        The constructor for the SecretInfo class.
        Parameters:
        secret - the secret
        attributes - the attributes (optional)
    • Method Detail

      • getSecret

        public String getSecret()
        Gets the secret retrieved from the given Secret Manager.
        Returns:
        the secret
      • getAttributes

        public AttributeMap getAttributes()
        Gets the attributes retrieved from the given Secret Manager.
        Returns:
        the attributes