diff --git a/azuredeploy.json b/azuredeploy.json index d549d7cc..ecd48ab6 100644 --- a/azuredeploy.json +++ b/azuredeploy.json @@ -394,7 +394,7 @@ "value": "[reference(resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('cosmosDBAccountName')), '2023-04-15').documentEndpoint]" }, "cosmosDBConnectionString": { - "type": "string", + "type": "secureString", "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)]" }, "bingServiceSearchKey": { @@ -410,8 +410,8 @@ "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', parameters('cognitiveServiceName')), '2023-05-01').key1]" }, "blobConnectionString": { - "type": "string", + "type": "secureString", "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)]" } } -} \ No newline at end of file +} diff --git a/credentials.env b/credentials.env index 02ac3eaa..f1537b86 100644 --- a/credentials.env +++ b/credentials.env @@ -5,8 +5,8 @@ BING_SEARCH_URL="https://api.bing.microsoft.com/v7.0/search" BOT_DIRECT_CHANNEL_ENDPOINT="https://directline.botframework.com/v3/directline" # Demo Data (edit with your own if you want to use your own data) -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" -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" +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" +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" # Edit with your own azure services values