Udostępnij za pośrednictwem


CustomRegistryCredentials Class

Definition

Describes the credentials that will be used to access a custom registry during a run.

public class CustomRegistryCredentials
type CustomRegistryCredentials = class
Public Class CustomRegistryCredentials
Inheritance
CustomRegistryCredentials

Constructors

CustomRegistryCredentials()

Initializes a new instance of the CustomRegistryCredentials class.

CustomRegistryCredentials(SecretObject, SecretObject, String)

Initializes a new instance of the CustomRegistryCredentials class.

Properties

Identity

Gets or sets 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.

Password

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

UserName

Gets or sets the username for logging into the custom registry.

Applies to