How to connect Azure Dev Ops to Key Vault, where Key Vault has public access disabled

Ahmed Elsayed 0 Reputation points Microsoft Employee
2024-04-02T08:00:53.0666667+00:00

I am trying to download key vault secrets through a YAML pipeline on Azure Dev Ops. I have the following set up:

  1. Key Vault is set up to have all public access disabled
  2. The Service principal for the Service Connection in my DevOps Project settings has "Get, List" Key Management Permissions already.
  3. Firewall is allowed for trusted services.

I keep getting the following error: view key vault keys Public network access is disabled and request is not from a trusted service nor via an approved private link.

I also can't find: ProvisionKeyVaultPermissions.ps1

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,124 questions
{count} votes