You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/sas-service-create.md
+42-4Lines changed: 42 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,12 @@ author: pauljewellmsft
6
6
7
7
ms.service: storage
8
8
ms.topic: how-to
9
-
ms.date: 05/10/2022
9
+
ms.date: 01/19/2023
10
10
ms.author: pauljewell
11
11
ms.reviewer: nachakra
12
12
ms.subservice: blobs
13
13
ms.devlang: csharp
14
-
ms.custom: devx-track-csharp
14
+
ms.custom: devx-track-csharp, engagement-fy23
15
15
---
16
16
17
17
# Create a service SAS for a container or blob
@@ -26,7 +26,26 @@ The following code example creates a SAS for a container. If the name of an exis
26
26
27
27
### [.NET v12 SDK](#tab/dotnet)
28
28
29
-
A service 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 [BlobSasBuilder](/dotnet/api/azure.storage.sas.blobsasbuilder) object and call the [ToSasQueryParameters](/dotnet/api/azure.storage.sas.blobsasbuilder.tosasqueryparameters) to get the SAS token string.
29
+
A service 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.
30
+
31
+
In the following example, populate the constants with your account name, account key, and container name:
Next, create a new [BlobSasBuilder](/dotnet/api/azure.storage.sas.blobsasbuilder) object and call the [ToSasQueryParameters](/dotnet/api/azure.storage.sas.blobsasbuilder.tosasqueryparameters) to get the SAS token string.
@@ -93,7 +112,26 @@ The following code example creates a SAS on a blob. If the name of an existing s
93
112
94
113
# [.NET v12 SDK](#tab/dotnet)
95
114
96
-
A service 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 [BlobSasBuilder](/dotnet/api/azure.storage.sas.blobsasbuilder) object and call the [ToSasQueryParameters](/dotnet/api/azure.storage.sas.blobsasbuilder.tosasqueryparameters) to get the SAS token string.
115
+
A service 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.
116
+
117
+
In the following example, populate the constants with your account name, account key, and container name:
Next, create a new [BlobSasBuilder](/dotnet/api/azure.storage.sas.blobsasbuilder) object and call the [ToSasQueryParameters](/dotnet/api/azure.storage.sas.blobsasbuilder.tosasqueryparameters) to get the SAS token string.
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-quickstart-blobs-python.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
---
2
2
title: "Quickstart: Azure Blob Storage client library for Python"
3
+
titleSuffix: Azure Storage
3
4
description: In this quickstart, you learn how to use the Azure Blob Storage client library for Python to create a container and a blob in Blob (object) storage. Next, you learn how to download the blob to your local computer, and how to list all of the blobs in a container.
Copy file name to clipboardExpand all lines: articles/storage/common/storage-samples-python.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
---
2
2
title: Azure Storage samples using Python
3
+
titleSuffix: Azure Storage
3
4
description: View, download, and run sample code and applications for Azure Storage. Discover getting started samples for blobs, queues, tables, and files, using the Python storage client libraries.
Copy file name to clipboardExpand all lines: articles/storage/queues/storage-quickstart-queues-python.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
---
2
2
title: 'Quickstart: Azure Queue Storage client library for Python'
3
+
titleSuffix: Azure Storage
3
4
description: Learn how to use the Azure Queue Storage client library for Python to create a queue and add messages to it. Then learn how to read and delete messages from the queue. You'll also learn how to delete a queue.
0 commit comments