Provides low-level interfaces and helper methods for authentication in Azure SDK
Overall
score
97%
A utility module for managing Azure Shared Access Signature (SAS) credentials with rotation support for cloud storage operations.
@generates
/**
* Creates and manages an Azure SAS credential with rotation capabilities
*/
export class SASManager {
/**
* Creates a new SAS manager with the provided signature
* @param signature - The initial SAS token
*/
constructor(signature: string);
/**
* Gets the current SAS credential
* @returns The managed credential instance
*/
getCredential(): unknown;
/**
* Gets the current signature value
* @returns The current SAS token string
*/
getSignature(): string;
/**
* Rotates to a new SAS signature
* @param newSignature - The new SAS token
*/
rotateSignature(newSignature: string): void;
/**
* Validates if an object is a valid SAS credential
* @param credential - The object to validate
* @returns True if the object is a valid SAS credential
*/
static isValidCredential(credential: unknown): boolean;
}Provides authentication primitives for Azure services.
Install with Tessl CLI
npx tessl i tessl/npm-azure--core-authdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10