Skip to content

Commit e4a6214

Browse files
authored
Merge pull request #67 from pablomarin/main
SAS Token and ARM template updated
2 parents cc62123 + 4b554ec commit e4a6214

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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+
}

credentials.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ BING_SEARCH_URL="https://api.bing.microsoft.com/v7.0/search"
55
BOT_DIRECT_CHANNEL_ENDPOINT="https://directline.botframework.com/v3/directline"
66

77
# Demo Data (edit with your own if you want to use your own data)
8-
BLOB_CONNECTION_STRING="BlobEndpoint=https://datasetsgptsmartsearch.blob.core.windows.net/;QueueEndpoint=https://datasetsgptsmartsearch.queue.core.windows.net/;FileEndpoint=https://datasetsgptsmartsearch.file.core.windows.net/;TableEndpoint=https://datasetsgptsmartsearch.table.core.windows.net/;SharedAccessSignature=sv=2022-11-02&ss=b&srt=sco&sp=rl&se=2026-01-03T02:11:44Z&st=2024-01-02T18:11:44Z&spr=https&sig=ngrEqvqBVaxyuSYqgPVeF%2B9c0fXLs94v3ASgwg7LDBs%3D"
9-
BLOB_SAS_TOKEN="?sv=2022-11-02&ss=b&srt=sco&sp=rl&se=2026-01-03T02:11:44Z&st=2024-01-02T18:11:44Z&spr=https&sig=ngrEqvqBVaxyuSYqgPVeF%2B9c0fXLs94v3ASgwg7LDBs%3D"
8+
BLOB_CONNECTION_STRING="BlobEndpoint=https://datasetsgptsmartsearch.blob.core.windows.net/;QueueEndpoint=https://datasetsgptsmartsearch.queue.core.windows.net/;FileEndpoint=https://datasetsgptsmartsearch.file.core.windows.net/;TableEndpoint=https://datasetsgptsmartsearch.table.core.windows.net/;SharedAccessSignature=sv=2022-11-02&ss=bfqt&srt=sco&sp=rwlptf&se=2025-05-05T22:12:44Z&st=2024-05-05T14:12:44Z&spr=https&sig=bHiuqs%2FphrTS5lCheNrziZtmf5Ehas64KPd80rJf%2F9E%3D"
9+
BLOB_SAS_TOKEN="sv=2022-11-02&ss=bfqt&srt=sco&sp=rwlptf&se=2025-05-05T22:12:44Z&st=2024-05-05T14:12:44Z&spr=https&sig=bHiuqs%2FphrTS5lCheNrziZtmf5Ehas64KPd80rJf%2F9E%3D"
1010

1111
# Edit with your own azure services values
1212

0 commit comments

Comments
 (0)