Skip to content

Commit a6ac501

Browse files
author
Dina Berry
committed
client text - suggested by Tamra
1 parent 4860c2e commit a6ac501

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/storage/blobs/storage-blob-create-user-delegation-sas-javascript.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,14 @@ With identity configured, use the following code to create **User delegation SAS
8383

8484
:::code language="javascript" source="~/azure_storage-snippets/blobs/howto/JavaScript/NodeJS-v12/dev-guide/list-blobs-from-container-sas-token.js" id="Snippet_CreateContainerSas" highlight="18, 25, 42":::
8585

86-
The preceding code creates a flow of values in order to create the container SAS token:
86+
The preceding server code creates a flow of values in order to create the container SAS token:
8787

8888
* Create the [**BlobServiceClient**](/javascript/api/@azure/storage-blob/blobserviceclient) with the [_DefaultAzureCredential_](/javascript/api/@azure/identity/defaultazurecredential)
8989
* Use the [blobServiceClient.getUserDelegationKey](/javascript/api/@azure/storage-blob/blobserviceclient#@azure-storage-blob-blobserviceclient-getuserdelegationkey) operation to create a [**UserDelegationKey**](/rest/api/storageservices/create-user-delegation-sas)
9090
* Use the key to create the [**SAS token**](../common/storage-sas-overview.md?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json#sas-token) string with [generateBlobSASQueryParameters](/javascript/api/@azure/storage-blob#@azure-storage-blob-generateblobsasqueryparameters)
9191

92+
Once you're created the container SAS token, you can provide it to the client that will consume the token. The client can then use it to list the blobs in a container. A [client code example](#container-use-sas-token) shows how to test the SAS as a consumer.
93+
9294
## Container: use SAS token
9395

9496
Once the container SAS token is created, use the token. As an example of using the SAS token, you:
@@ -133,6 +135,8 @@ The preceding code creates a flow of values in order to create the container SAS
133135
* Use the [blobServiceClient.getUserDelegationKey](/javascript/api/@azure/storage-blob/blobserviceclient#@azure-storage-blob-blobserviceclient-getuserdelegationkey) operation to create a [**UserDelegationKey**](/rest/api/storageservices/create-user-delegation-sas)
134136
* Use the key to create the [**SAS token**](../common/storage-sas-overview.md?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json#sas-token) string. If the blob name wasn't specified in the options, the SAS token is a container token.
135137

138+
Once you're created the blob SAS token, you can provide it to the client that will consume the token. The client can then use it to upload a blob. A [client code example](#blob-use-sas-token) shows how to test the SAS as a consumer.
139+
136140
## Blob: use SAS token
137141

138142
Once the blob SAS token is created, use the token. As an example of using the SAS token, you:

0 commit comments

Comments
 (0)