Skip to content

Commit

Permalink
pr-fix: add logging for key vault secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels committed Jun 13, 2024
1 parent 66529e8 commit f07114a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/templates/run-self-contained-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ steps:
$apiKeySecret = az keyvault secret show --name $env:APPINSIGHTS_APIKEY_SECRETNAME --vault-name $vaultName | ConvertFrom-Json
$instrumentationKeySecret = az keyvault secret show --name $env:APPINSIGHTS_INSTRUMENTATIONKEY_SECRETNAME --vault-name $vaultName | ConvertFrom-Json
Write-Host "Set Application Insights API key as secret $apiKeySecret"
Write-Host "Set Application Insights Instrumentation key as secret $instrumentationKeySecret"
Set-AzDevOpsVariable 'ApplicationInsights_InstrumentationKey' -Value $instrumentationKeySecret.value -AsSecret
Set-AzDevOpsVariable 'ApplicationInsights_ApiKey' -Value $apiKeySecret.value -AsSecret
- template: test/run-integration-tests.yml@templates
Expand Down

0 comments on commit f07114a

Please sign in to comment.