Skip to content

Commit 31bbd72

Browse files
authored
blobconnection string changed to secureString
1 parent cc62123 commit 31bbd72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azuredeploy.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
"value": "[reference(resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('cosmosDBAccountName')), '2023-04-15').documentEndpoint]"
395395
},
396396
"cosmosDBConnectionString": {
397-
"type": "string",
397+
"type": "secureString",
398398
"value": "[format('AccountEndpoint={0};AccountKey={1}', reference(resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('cosmosDBAccountName')), '2023-04-15').documentEndpoint, listKeys(resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('cosmosDBAccountName')), '2023-04-15').primaryMasterKey)]"
399399
},
400400
"bingServiceSearchKey": {
@@ -410,8 +410,8 @@
410410
"value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', parameters('cognitiveServiceName')), '2023-05-01').key1]"
411411
},
412412
"blobConnectionString": {
413-
"type": "string",
413+
"type": "secureString",
414414
"value": "[format('DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1};EndpointSuffix=core.windows.net', parameters('blobStorageAccountName'), listKeys(resourceId('Microsoft.Storage/storageAccounts', parameters('blobStorageAccountName')), '2023-01-01').keys[0].value)]"
415415
}
416416
}
417-
}
417+
}

0 commit comments

Comments
 (0)