diff --git a/.github/scripts/set-up-esrp.ps1 b/.github/scripts/set-up-esrp.ps1 index e62e87620bbcdd..ca56266e33f553 100644 --- a/.github/scripts/set-up-esrp.ps1 +++ b/.github/scripts/set-up-esrp.ps1 @@ -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 diff --git a/.github/workflows/build-git-installers.yml b/.github/workflows/build-git-installers.yml index 65896bbfdb9eec..22c7e99cd87872 100644 --- a/.github/workflows/build-git-installers.yml +++ b/.github/workflows/build-git-installers.yml @@ -397,7 +397,6 @@ jobs: - name: Set up ESRP client shell: pwsh env: - AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }} AZURE_VAULT: ${{ secrets.AZURE_VAULT }} AUTH_CERT: ${{ secrets.AZURE_VAULT_AUTH_CERT_NAME }} REQUEST_SIGNING_CERT: ${{ secrets.AZURE_VAULT_REQUEST_SIGNING_CERT_NAME }} @@ -505,7 +504,6 @@ jobs: - name: Set up ESRP client shell: pwsh env: - AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }} AZURE_VAULT: ${{ secrets.AZURE_VAULT }} AUTH_CERT: ${{ secrets.AZURE_VAULT_AUTH_CERT_NAME }} REQUEST_SIGNING_CERT: ${{ secrets.AZURE_VAULT_REQUEST_SIGNING_CERT_NAME }}