Last active
October 24, 2019 02:44
-
-
Save raykao/886e44ba1d99020a82620f9230764a70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- master | |
variables: | |
- group: akv-credentials | |
pool: | |
vmImage: 'ubuntu-latest' | |
steps: | |
- script: | | |
az login --service-principal -u "$CLIENT_ID" -p $CLIENT_SECRET --tenant "$TENANT_ID" --allow-no-subscriptions | |
az keyvault secret show -n $SECRET_NAME --vault-name $AKV_NAME | jq -r '.value' | base64 --decode >> results.pem | |
displayName: 'Retrieve PEM File' | |
failOnStderr: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment