Home > Blockchain >  How link Azure Devops Library to KeyVault
How link Azure Devops Library to KeyVault

Time:12-22

I am trying to synchronize the variables that I have azure Library with Keyvault, for this I have a SPN created added as service connector.

When I put the Keyvault and the service connector to synchronize I get a command to add permissions "get, list" for the secrets.

I add it and it still does not work having the permissions it asks for.

It may have some kind of bug? there is hardly any information in the Microsft documentation and should be something simple.

Translated with enter image description here

enter image description here

enter image description here

2, assign permission.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

There are two situations.

First, Using 'Vault acccess policy':

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Second, using 'Azure role-based access control':

enter image description here

enter image description here

Role is 'Key Vault Secrets User':

enter image description here

After the above steps, you should be able to access the azure key vault From Azure DevOps side:

enter image description here

  • Related