Skip to content

Commit 4297de2

Browse files
[communication] fix endpoint env var name (Azure#18138)
* fix endpoint env var name * add COMMUNICATION_ACCESS_KEY env var * change key1 to primaryKey
1 parent 2ba93a7 commit 4297de2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sdk/communication/test-resources.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,14 @@
5050
"type": "string",
5151
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryConnectionString]"
5252
},
53-
"COMMUNICATION_ENDPOINT_STRING": {
53+
"COMMUNICATION_ENDPOINT": {
5454
"type": "string",
5555
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
5656
},
57+
"COMMUNICATION_ACCESS_KEY": {
58+
"type": "string",
59+
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
60+
},
5761
"RESOURCE_GROUP_NAME": {
5862
"type": "string",
5963
"value": "[resourceGroup().Name]"

0 commit comments

Comments
 (0)