Skip to content

Commit e0ee169

Browse files
authored
Merge pull request #109237 from Juliako/patch-18
Update stream-files-tutorial-with-api.md
2 parents 85c2e6c + 292b1de commit e0ee169

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/media-services/latest/stream-files-tutorial-with-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ The following function performs these actions:
8484

8585
* Creates an **Asset**.
8686
* Gets a writable [SAS URL](https://docs.microsoft.com/azure/storage/common/storage-dotnet-shared-access-signature-part-1) to the asset’s [container in storage](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-dotnet#upload-blobs-to-a-container).
87+
88+
If using asset’s [ListContainerSas](https://docs.microsoft.com/rest/api/media/assets/listcontainersas) function to get SAS URLs, note that the function returns multiple SAS URLs as there are two storage account keys for each storage account. A storage account has two keys because it allows for seamless rotation of storage account keys (for example, change one while using the other then start using the new key and rotate the other key). The 1st SAS URL represents storage key1 and second one storage key2.
8789
* Uploads the file into the container in storage using the SAS URL.
8890

8991
[!code-csharp[Main](../../../media-services-v3-dotnet-tutorials/AMSV3Tutorials/UploadEncodeAndStreamFiles/Program.cs#CreateInputAsset)]

0 commit comments

Comments
 (0)