Dela via


SecretAuthInfo Class

Definition

The authentication info when authType is secret.

public class SecretAuthInfo : Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo
type SecretAuthInfo = class
    inherit AuthBaseInfo
Public Class SecretAuthInfo
Inherits AuthBaseInfo
Inheritance
SecretAuthInfo

Constructors

SecretAuthInfo()

Initializes a new instance of SecretAuthInfo.

Properties

Name

Username or account name for secret auth.

SecretInfo

Password or key vault secret for secret auth. Please note SecretBaseInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include KeyVaultSecretReferenceSecretInfo, KeyVaultSecretUriSecretInfo and RawValueSecretInfo.

Applies to