AzureKeyCredential Class
Credential type used for authenticating to an Azure service. It provides the ability to update the key without creating a new client.
- Inheritance
-
builtins.objectAzureKeyCredential
Constructor
AzureKeyCredential(key: str)
Parameters
Name | Description |
---|---|
key
Required
|
The key used to authenticate to an Azure service |
Methods
update |
Update the key. This can be used when you've regenerated your service key and want to update long-lived clients. |
update
Update the key.
This can be used when you've regenerated your service key and want to update long-lived clients.
update(key: str) -> None
Parameters
Name | Description |
---|---|
key
Required
|
The key used to authenticate to an Azure service |
Exceptions
Type | Description |
---|---|
ValueError or TypeError
|
Attributes
key
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python