Penv Cloud
Start free
Docs
Reference

Azure Key Vault

Move secrets to and from a Key Vault name prefix.

Move secrets to and from a Key Vault name prefix.

Connection

WhatThis provider
VendorMicrosoft Azure
Keyazure-key-vault
Availabilityavailable. You can connect it today.
Credential we holdazure-service-principal
Values read backyes
Activationimmediate

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

immediate. The running app sees a new value at once.

Conflict policies

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tenantIdDirectory (tenant) IDsecret; we mask it here and seal ityes
clientIdApplication (client) IDsecret; we mask it here and seal ityes
clientSecretClient secretsecret; we mask it here and seal ityes

Connection fields

You set these when you connect. Every mapping on the connection shares them.

FieldLabelKindRequiredAdvancedWhat it is
vaultNameVaulttextyesnoThe vault's name alone, without the URL around it. One connection covers one vault.
basePrefixBase prefixtextyesnoThe widest secret name prefix this connection may touch. Every sync scope will sit under it.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
namePrefixSecret name prefixtextyesnoMaps onto this environment. Underscores become -U, so DATABASE_URL is DATABASE-UURL.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
Microsoft.KeyVault/vaults/secrets/readMetadata/actionevery directionyesPreview cannot list what is under this prefix.
Microsoft.KeyVault/vaults/secrets/getSecret/actionimportyesImport cannot read any value.
Microsoft.KeyVault/vaults/secrets/setSecret/actionexportyesExport cannot write anything.
Microsoft.KeyVault/vaults/secrets/deleteSecret/actionexportnoThe overwrite_and_prune policy cannot remove remote keys.
Microsoft.KeyVault/vaults/secrets/recover/actionexportnoA key pruned inside the vault's retention window cannot be written again.