通过


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

AzureNamedKeyCredential Class

Definition

Credential allowing a named key to be used for authenticating to an Azure Service. It provides the ability to update the key without creating a new client.

public class AzureNamedKeyCredential
type AzureNamedKeyCredential = class
Public Class AzureNamedKeyCredential
Inheritance
AzureNamedKeyCredential

Constructors

Name Description
AzureNamedKeyCredential(String, String)

Initializes a new instance of the AzureNamedKeyCredential class.

Properties

Name Description
Name

Name of the key used to authenticate to an Azure service.

Methods

Name Description
Update(String, String)

Updates the named key. This is intended to be used when you've regenerated your service key and want to update long-lived clients.

Applies to