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
type AzureKeyCredential = class
Public Class AzureKeyCredential
- Inheritance
-
AzureKeyCredential
Constructors
AzureKeyCredential(String) |
Initializes a new instance of the AzureKeyCredential class. |
Methods
Update(String) |
Updates the service 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for