AzureKeyCredential 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.
Key credential used to authenticate to an Azure Service. It provides the ability to update the key without creating a new client.
public class AzureKeyCredential : System.ClientModel.ApiKeyCredential
type AzureKeyCredential = class
inherit ApiKeyCredential
Public Class AzureKeyCredential
Inherits ApiKeyCredential
- Inheritance
Constructors
AzureKeyCredential(String) |
Initializes a new instance of the AzureKeyCredential class. |
Methods
Deconstruct(String) |
Deconstructs the credential into component values. (Inherited from ApiKeyCredential) |
Update(String) |
Updates the API key to used to authenticate with the service. This method is intended to be called when the API key has been regenerated and long-lived clients need to be updated to send the new value. (Inherited from ApiKeyCredential) |
Applies to
Azure SDK for .NET