Skip to content

Commit

Permalink
[SRP] Add allowSharedKeyAccess property support (#11756)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
HimanshuChhabra authored Jan 29, 2021
1 parent c35467e commit 0078025
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"routingPreference": {
"routingChoice": "MicrosoftRouting",
"publishMicrosoftEndpoints": true,
Expand Down Expand Up @@ -59,6 +60,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"creationTime": "2017-05-24T13:25:33.4863236Z",
"primaryEndpoints": {
"web": "https://sto4445.web.core.windows.net/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"properties": {
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"networkAcls": {
"resourceAccessRules": [
{
Expand Down Expand Up @@ -50,6 +51,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"creationTime": "2017-06-01T02:42:41.7633306Z",
"networkAcls": {
"resourceAccessRules": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2442,6 +2442,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used to create the storage account."
Expand Down Expand Up @@ -2952,6 +2956,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "Properties of the storage account."
Expand Down Expand Up @@ -3174,6 +3182,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used when updating a storage account."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"properties": {
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"minimumTlsVersion": "TLS1_2"
},
"tags": {
Expand All @@ -31,6 +32,7 @@
"properties": {
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"minimumTlsVersion": "TLS1_2",
"creationTime": "2017-05-24T13:25:33.4863236Z",
"primaryEndpoints": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"parameters": {
"properties": {
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"minimumTlsVersion": "TLS1_2",
"networkAcls": {
"defaultAction": "Allow"
Expand Down Expand Up @@ -36,6 +37,7 @@
"properties": {
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"minimumTlsVersion": "TLS1_2",
"creationTime": "2017-06-01T02:42:41.7633306Z",
"networkAcls": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used to create the storage account."
Expand Down Expand Up @@ -1774,6 +1778,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "Properties of the storage account."
Expand Down Expand Up @@ -1954,6 +1962,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used when updating a storage account."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"routingPreference": {
"routingChoice": "MicrosoftRouting",
"publishMicrosoftEndpoints": true,
Expand Down Expand Up @@ -51,6 +52,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"creationTime": "2017-05-24T13:25:33.4863236Z",
"primaryEndpoints": {
"web": "https://sto4445.web.core.windows.net/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"properties": {
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"networkAcls": {
"defaultAction": "Allow"
},
Expand Down Expand Up @@ -44,6 +45,7 @@
"isHnsEnabled": true,
"allowBlobPublicAccess": false,
"minimumTlsVersion": "TLS1_2",
"allowSharedKeyAccess": true,
"creationTime": "2017-06-01T02:42:41.7633306Z",
"networkAcls": {
"bypass": "AzureServices",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2149,6 +2149,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used to create the storage account."
Expand Down Expand Up @@ -2602,6 +2606,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "Properties of the storage account."
Expand Down Expand Up @@ -2787,6 +2795,10 @@
"modelAsString": true
},
"description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property."
},
"allowSharedKeyAccess": {
"type": "boolean",
"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."
}
},
"description": "The parameters used when updating a storage account."
Expand Down

0 comments on commit 0078025

Please sign in to comment.