AzureNamedKeyCredential Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET