CustomRegistryCredentials Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per