Skip to content

Commit 0078025

Browse files
[SRP] Add allowSharedKeyAccess property support (#11756)
* Add allowSharedKeyAccess property support * Remove x-ms-clientname as it cannot be same as property name as per new ARM rules * backfill June19 and April19 Api versions with allowsharedkeyaccess
1 parent c35467e commit 0078025

File tree

9 files changed

+48
-0
lines changed

9 files changed

+48
-0
lines changed

specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountCreate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"isHnsEnabled": true,
1919
"allowBlobPublicAccess": false,
2020
"minimumTlsVersion": "TLS1_2",
21+
"allowSharedKeyAccess": true,
2122
"routingPreference": {
2223
"routingChoice": "MicrosoftRouting",
2324
"publishMicrosoftEndpoints": true,
@@ -59,6 +60,7 @@
5960
"isHnsEnabled": true,
6061
"allowBlobPublicAccess": false,
6162
"minimumTlsVersion": "TLS1_2",
63+
"allowSharedKeyAccess": true,
6264
"creationTime": "2017-05-24T13:25:33.4863236Z",
6365
"primaryEndpoints": {
6466
"web": "https://sto4445.web.core.windows.net/",

specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountUpdate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"properties": {
1010
"allowBlobPublicAccess": false,
1111
"minimumTlsVersion": "TLS1_2",
12+
"allowSharedKeyAccess": true,
1213
"networkAcls": {
1314
"resourceAccessRules": [
1415
{
@@ -50,6 +51,7 @@
5051
"isHnsEnabled": true,
5152
"allowBlobPublicAccess": false,
5253
"minimumTlsVersion": "TLS1_2",
54+
"allowSharedKeyAccess": true,
5355
"creationTime": "2017-06-01T02:42:41.7633306Z",
5456
"networkAcls": {
5557
"resourceAccessRules": [

specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,6 +2442,10 @@
24422442
"modelAsString": true
24432443
},
24442444
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
2445+
},
2446+
"allowSharedKeyAccess": {
2447+
"type": "boolean",
2448+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
24452449
}
24462450
},
24472451
"description": "The parameters used to create the storage account."
@@ -2952,6 +2956,10 @@
29522956
"modelAsString": true
29532957
},
29542958
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
2959+
},
2960+
"allowSharedKeyAccess": {
2961+
"type": "boolean",
2962+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
29552963
}
29562964
},
29572965
"description": "Properties of the storage account."
@@ -3174,6 +3182,10 @@
31743182
"modelAsString": true
31753183
},
31763184
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
3185+
},
3186+
"allowSharedKeyAccess": {
3187+
"type": "boolean",
3188+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
31773189
}
31783190
},
31793191
"description": "The parameters used when updating a storage account."

specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountCreate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"properties": {
1414
"isHnsEnabled": true,
1515
"allowBlobPublicAccess": false,
16+
"allowSharedKeyAccess": true,
1617
"minimumTlsVersion": "TLS1_2"
1718
},
1819
"tags": {
@@ -31,6 +32,7 @@
3132
"properties": {
3233
"isHnsEnabled": true,
3334
"allowBlobPublicAccess": false,
35+
"allowSharedKeyAccess": true,
3436
"minimumTlsVersion": "TLS1_2",
3537
"creationTime": "2017-05-24T13:25:33.4863236Z",
3638
"primaryEndpoints": {

specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/examples/StorageAccountUpdate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"parameters": {
99
"properties": {
1010
"allowBlobPublicAccess": false,
11+
"allowSharedKeyAccess": true,
1112
"minimumTlsVersion": "TLS1_2",
1213
"networkAcls": {
1314
"defaultAction": "Allow"
@@ -36,6 +37,7 @@
3637
"properties": {
3738
"isHnsEnabled": true,
3839
"allowBlobPublicAccess": false,
40+
"allowSharedKeyAccess": true,
3941
"minimumTlsVersion": "TLS1_2",
4042
"creationTime": "2017-06-01T02:42:41.7633306Z",
4143
"networkAcls": {

specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,10 @@
14691469
"modelAsString": true
14701470
},
14711471
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
1472+
},
1473+
"allowSharedKeyAccess": {
1474+
"type": "boolean",
1475+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
14721476
}
14731477
},
14741478
"description": "The parameters used to create the storage account."
@@ -1774,6 +1778,10 @@
17741778
"modelAsString": true
17751779
},
17761780
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
1781+
},
1782+
"allowSharedKeyAccess": {
1783+
"type": "boolean",
1784+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
17771785
}
17781786
},
17791787
"description": "Properties of the storage account."
@@ -1954,6 +1962,10 @@
19541962
"modelAsString": true
19551963
},
19561964
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
1965+
},
1966+
"allowSharedKeyAccess": {
1967+
"type": "boolean",
1968+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
19571969
}
19581970
},
19591971
"description": "The parameters used when updating a storage account."

specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"isHnsEnabled": true,
1515
"allowBlobPublicAccess": false,
1616
"minimumTlsVersion": "TLS1_2",
17+
"allowSharedKeyAccess": true,
1718
"routingPreference": {
1819
"routingChoice": "MicrosoftRouting",
1920
"publishMicrosoftEndpoints": true,
@@ -51,6 +52,7 @@
5152
"isHnsEnabled": true,
5253
"allowBlobPublicAccess": false,
5354
"minimumTlsVersion": "TLS1_2",
55+
"allowSharedKeyAccess": true,
5456
"creationTime": "2017-05-24T13:25:33.4863236Z",
5557
"primaryEndpoints": {
5658
"web": "https://sto4445.web.core.windows.net/",

specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"properties": {
1010
"allowBlobPublicAccess": false,
1111
"minimumTlsVersion": "TLS1_2",
12+
"allowSharedKeyAccess": true,
1213
"networkAcls": {
1314
"defaultAction": "Allow"
1415
},
@@ -44,6 +45,7 @@
4445
"isHnsEnabled": true,
4546
"allowBlobPublicAccess": false,
4647
"minimumTlsVersion": "TLS1_2",
48+
"allowSharedKeyAccess": true,
4749
"creationTime": "2017-06-01T02:42:41.7633306Z",
4850
"networkAcls": {
4951
"bypass": "AzureServices",

specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,10 @@
21492149
"modelAsString": true
21502150
},
21512151
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
2152+
},
2153+
"allowSharedKeyAccess": {
2154+
"type": "boolean",
2155+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
21522156
}
21532157
},
21542158
"description": "The parameters used to create the storage account."
@@ -2602,6 +2606,10 @@
26022606
"modelAsString": true
26032607
},
26042608
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
2609+
},
2610+
"allowSharedKeyAccess": {
2611+
"type": "boolean",
2612+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
26052613
}
26062614
},
26072615
"description": "Properties of the storage account."
@@ -2787,6 +2795,10 @@
27872795
"modelAsString": true
27882796
},
27892797
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
2798+
},
2799+
"allowSharedKeyAccess": {
2800+
"type": "boolean",
2801+
"description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true."
27902802
}
27912803
},
27922804
"description": "The parameters used when updating a storage account."

0 commit comments

Comments
 (0)