Class SecretAuthInfo


  • public final class SecretAuthInfo
    extends AuthInfoBase
    The authentication info when authType is secret.
    • Constructor Detail

      • SecretAuthInfo

        public SecretAuthInfo()
    • Method Detail

      • name

        public String name()
        Get the name property: Username or account name for secret auth.
        Returns:
        the name value.
      • withName

        public SecretAuthInfo withName​(String name)
        Set the name property: Username or account name for secret auth.
        Parameters:
        name - the name value to set.
        Returns:
        the SecretAuthInfo object itself.
      • secretInfo

        public SecretInfoBase secretInfo()
        Get the secretInfo property: Password or key vault secret for secret auth.
        Returns:
        the secretInfo value.
      • withSecretInfo

        public SecretAuthInfo withSecretInfo​(SecretInfoBase secretInfo)
        Set the secretInfo property: Password or key vault secret for secret auth.
        Parameters:
        secretInfo - the secretInfo value to set.
        Returns:
        the SecretAuthInfo object itself.