Skip to content

Commit

Permalink
release: access Azure Storage Account with login credentials
Browse files Browse the repository at this point in the history
Use --auth-mode login command to access ESRP Azure Storage Account instead
of AZURE_STORAGE_KEY. This allows us to reuse the git-fundamentals-esrp
service principal login credentials we're already using for other
resources and is a more secure mode of access than using the storage key.
  • Loading branch information
Lessley Dennington committed Aug 26, 2022
1 parent c2c0cdc commit 3fc9dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/set_up_esrp.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install ESRP client
az storage blob download --file esrp.zip --account-key "$env:AZURE_STORAGE_KEY" --account-name esrpsigningstorage --container signing-resources --name microsoft.esrpclient.1.2.76.nupkg
az storage blob download --file esrp.zip --auth-mode login --account-name esrpsigningstorage --container signing-resources --name microsoft.esrpclient.1.2.76.nupkg
Expand-Archive -Path esrp.zip -DestinationPath .\esrp

# Install certificates
Expand Down

0 comments on commit 3fc9dce

Please sign in to comment.