你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomRegistryCredentials 类

定义

描述在运行期间将用于访问自定义注册表的凭据。

public class CustomRegistryCredentials
type CustomRegistryCredentials = class
Public Class CustomRegistryCredentials
继承
CustomRegistryCredentials

构造函数

CustomRegistryCredentials()

初始化 CustomRegistryCredentials 类的新实例。

CustomRegistryCredentials(SecretObject, SecretObject, String)

初始化 CustomRegistryCredentials 类的新实例。

属性

Identity

获取或设置指示分配给自定义凭据的托管标识。 如果用户分配的标识,则此值为客户端 ID。 如果系统分配的标识,则值为 system。 对于系统分配的标识,客户端 ID 将由运行器确定。 此标识可用于向密钥保管库进行身份验证以检索凭据,也可以是用于访问注册表的唯一身份验证源。

Password

获取或设置用于登录到自定义注册表的密码。 密码是一个机密对象,允许通过多种方式为其提供值。

UserName

获取或设置用于登录到自定义注册表的用户名。

适用于