Skip to content

Commit 21cf69d

Browse files
Add information for account SAS
1 parent 43effca commit 21cf69d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/storage/common/storage-account-sas-create-dotnet.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ ms.custom: devx-track-csharp
2121

2222
This article shows how to use the storage account key to create an account SAS with the [Azure Storage client library for .NET](/dotnet/api/overview/azure/storage).
2323

24+
## About the account SAS
25+
26+
An account SAS is created at the level of the storage account. By creating an account SAS, you can:
27+
28+
- Delegate access to service-level operations that aren't currently available with a service-specific SAS, such as [Get Blob Service Properties](/rest/api/storageservices/get-blob-service-properties), [Set Blob Service Properties](/rest/api/storageservices/set-blob-service-properties) and [Get Blob Service Stats](/rest/api/storageservices/get-blob-service-stats).
29+
- Delegate access to more than one service in a storage account at a time. For example, you can delegate access to resources in both Azure Blob Storage and Azure Files by using an account SAS.
30+
31+
Stored access policies are not supported for an account SAS.
32+
2433
## Create an account SAS
2534

2635
An account SAS is signed with the account access key. Use the [StorageSharedKeyCredential](/dotnet/api/azure.storage.storagesharedkeycredential) class to create the credential that is used to sign the SAS. Next, create a new [AccountSasBuilder](/dotnet/api/azure.storage.sas.accountsasbuilder) object and call the [ToSasQueryParameters](/dotnet/api/azure.storage.sas.accountsasbuilder.tosasqueryparameters) to get the SAS token string.

0 commit comments

Comments
 (0)