AzureSASCredential class

A static-signature-based credential that supports updating the underlying signature value.

Constructors

AzureSASCredential(string)

Create an instance of an AzureSASCredential for use with a service client.

Properties

signature

The value of the shared access signature to be used in authentication

Methods

update(string)

Change the value of the signature.

Updates will take effect upon the next request after updating the signature value.

Constructor Details

AzureSASCredential(string)

Create an instance of an AzureSASCredential for use with a service client.

new AzureSASCredential(signature: string)

Parameters

signature

string

The initial value of the shared access signature to use in authentication

Property Details

signature

The value of the shared access signature to be used in authentication

string signature

Property Value

string

Method Details

update(string)

Change the value of the signature.

Updates will take effect upon the next request after updating the signature value.

function update(newSignature: string)

Parameters

newSignature

string

The new shared access signature value to be used