Share via


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

AzureNamedKeyCredential(String, String)

Initializes a new instance of the AzureNamedKeyCredential class.

Properties

Name

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

Methods

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