AzureNamedKeyCredential Class
Credential type used for working with any service needing a named key that follows patterns established by the other credential types.
- Inheritance
-
builtins.objectAzureNamedKeyCredential
Constructor
AzureNamedKeyCredential(name: str, key: str)
Parameters
Name | Description |
---|---|
name
Required
|
The name of the credential used to authenticate to an Azure service. |
key
Required
|
The key used to authenticate to an Azure service. |
Methods
update |
Update the named key credential. Both name and key must be provided in order to update the named key credential. Individual attributes cannot be updated. |
update
Update the named key credential.
Both name and key must be provided in order to update the named key credential. Individual attributes cannot be updated.
update(name: str, key: str) -> None
Parameters
Name | Description |
---|---|
name
Required
|
The name of the credential used to authenticate to an Azure service. |
key
Required
|
The key used to authenticate to an Azure service. |
Attributes
named_key
The value of the configured name.
Returns
Type | Description |
---|---|
<xref:AzureNamedKey>
|
The value of the configured name. |
Azure SDK for Python