Condividi tramite


CustomRegistryCredentials Constructors

Definition

Overloads

CustomRegistryCredentials()

Initializes a new instance of the CustomRegistryCredentials class.

CustomRegistryCredentials(SecretObject, SecretObject, String)

Initializes a new instance of the CustomRegistryCredentials class.

CustomRegistryCredentials()

Initializes a new instance of the CustomRegistryCredentials class.

public CustomRegistryCredentials ();
Public Sub New ()

Applies to

CustomRegistryCredentials(SecretObject, SecretObject, String)

Initializes a new instance of the CustomRegistryCredentials class.

public CustomRegistryCredentials (Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject userName = default, Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject password = default, string identity = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.CustomRegistryCredentials : Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject * Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject * string -> Microsoft.Azure.Management.ContainerRegistry.Models.CustomRegistryCredentials
Public Sub New (Optional userName As SecretObject = Nothing, Optional password As SecretObject = Nothing, Optional identity As String = Nothing)

Parameters

userName
SecretObject

The username for logging into the custom registry.

password
SecretObject

The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.

identity
String

Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.

Applies to