AzureSasCredential Class

Credential type used for authenticating to an Azure service. It provides the ability to update the shared access signature without creating a new client.

Inheritance
builtins.object
AzureSasCredential

Constructor

AzureSasCredential(signature: str)

Parameters

signature
str
Required

The shared access signature used to authenticate to an Azure service

Methods

update

Update the shared access signature.

This can be used when you've regenerated your shared access signature and want to update long-lived clients.

update

Update the shared access signature.

This can be used when you've regenerated your shared access signature and want to update long-lived clients.

update(signature: str) -> None

Parameters

signature
str
Required

The shared access signature used to authenticate to an Azure service

Exceptions

ValueError or TypeError

Attributes

signature

The value of the configured shared access signature.

Returns

The value of the configured shared access signature.

Return type

str