Table of Contents

Class Security

Namespace
NuvTools.Storage.Azure
Assembly
NuvTools.Storage.Azure.dll

Provides security-related functionality for Azure Storage, including SAS token generation.

public class Security
Inheritance
Security
Inherited Members

Methods

GetAccountSignedToken(string, string, AccessPermissions)

Generates a signed token for accessing Azure Storage account resources. The token is valid for 24 hours and uses HTTPS protocol.

public static string GetAccountSignedToken(string accountName, string accountKey, AccessPermissions permissions = AccessPermissions.Read)

Parameters

accountName string

The name of the Azure Storage account.

accountKey string

The access key for the Azure Storage account.

permissions AccessPermissions

The access permissions to grant. Defaults to Read.

Returns

string

A signed token string that can be appended to storage URLs for authenticated access.