Azure-cli: Release pipeline PyPI phase is not having secrets correctly injected

Created on 12 Feb 2019  路  3Comments  路  Source: Azure/azure-cli

The release pipeline:
https://dev.azure.com/azure-public/azcli/_release?definitionId=2

When referencing secrets, we are getting empty values. There are two ways that we can fix it:

  1. Continue digging to see why Key Vault values aren't getting injected into our script.
  2. Mimic what was done with the Debian release phase, and use the "Azure CLI" task. This will allow us to use our own product to fetch the secrets.
Infrastructure

Most helpful comment

This is now complete. After authenticating, you can see the "Azure CLI" task here:
https://dev.azure.com/azure-public/azcli/_releaseDefinition?definitionId=2&_a=definition-tasks&environmentId=5

All 3 comments

I would vote for #2. Seems like the simplest approach.

Agreed, that was my plan. Other one is too hard to estimate.

This is now complete. After authenticating, you can see the "Azure CLI" task here:
https://dev.azure.com/azure-public/azcli/_releaseDefinition?definitionId=2&_a=definition-tasks&environmentId=5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

seanknox picture seanknox  路  3Comments

ambakshi picture ambakshi  路  3Comments

Kannaj picture Kannaj  路  3Comments

derekperkins picture derekperkins  路  3Comments

amarzavery picture amarzavery  路  3Comments