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

ServicePrincipalCredential interface

服务主体凭据。

扩展

属性

servicePrincipalId

用于进行身份验证的服务主体的应用 ID

servicePrincipalKey

用于进行身份验证的服务主体的密钥。

tenant

服务主体所属的租户的 ID

type

多态鉴别器,它指定此对象可以的不同类型的

继承属性

annotations

可用于描述凭据的标记列表。

description

凭据说明。

属性详细信息

servicePrincipalId

用于进行身份验证的服务主体的应用 ID

servicePrincipalId?: any

属性值

any

servicePrincipalKey

用于进行身份验证的服务主体的密钥。

servicePrincipalKey?: AzureKeyVaultSecretReference

属性值

tenant

服务主体所属的租户的 ID

tenant?: any

属性值

any

type

多态鉴别器,它指定此对象可以的不同类型的

type: "ServicePrincipal"

属性值

"ServicePrincipal"

继承属性详细信息

annotations

可用于描述凭据的标记列表。

annotations?: any[]

属性值

any[]

继承自Credential.annotations

description

凭据说明。

description?: string

属性值

string

继承自Credential.description