Share via


ICustomRegistryCredentials Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CustomRegistryCredentialsTypeConverter))]
public interface ICustomRegistryCredentials : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CustomRegistryCredentialsTypeConverter))>]
type ICustomRegistryCredentials = interface
    interface IJsonSerializable
Public Interface ICustomRegistryCredentials
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Identity

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.

PasswordType

The type of the secret object which determines how the value of the secret object has to be interpreted.

PasswordValue

The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

UserNameType

The type of the secret object which determines how the value of the secret object has to be interpreted.

UserNameValue

The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to