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: sdk/tables/azure-data-tables/README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,25 +63,6 @@ az storage account show -n mystorageaccount -g MyResourceGroup --query "primaryE
63
63
#### Types of credentials
64
64
The `credential` parameter may be provided in a number of different forms, depending on the type of authorization you wish to use:
65
65
66
-
##### Creating the client from a SAS token
67
-
To use a [shared access signature (SAS) token][azure_sas_token], provide the token as a string. If your account URL includes the SAS token, omit the credential parameter. You can generate a SAS token from the Azure Portal under [Shared access signature](https://docs.microsoft.com/rest/api/storageservices/create-service-sas) or use one of the `generate_*_sas()`
68
-
functions to create a sas token for the account or table:
69
-
70
-
```python
71
-
from datetime import datetime, timedelta
72
-
from azure.data.tables import TableServiceClient, generate_account_sas, ResourceTypes, AccountSasPermissions
To use an account [shared key][azure_shared_key] (aka account key or access key), provide the key as a string. This can be found in the [Azure Portal][azure_portal_account_url] under the "Access Keys" section or by running the following Azure CLI command:
87
68
@@ -110,6 +91,25 @@ The connection string to your account can be found in the Azure Portal under the
110
91
az storage account show-connection-string -g MyResourceGroup -n MyStorageAccount
111
92
```
112
93
94
+
##### Creating the client from a SAS token
95
+
To use a [shared access signature (SAS) token][azure_sas_token], provide the token as a string. If your account URL includes the SAS token, omit the credential parameter. You can generate a SAS token from the Azure Portal under [Shared access signature](https://docs.microsoft.com/rest/api/storageservices/create-service-sas) or use one of the `generate_*_sas()`
96
+
functions to create a sas token for the account or table:
97
+
98
+
```python
99
+
from datetime import datetime, timedelta
100
+
from azure.data.tables import TableServiceClient, generate_account_sas, ResourceTypes, AccountSasPermissions
0 commit comments