Copies Secret objects from one Azure Key Vault to another.
Disclaimer: This requires Azure CLI (
az
) to be installed and logged in for local use.
via pipx:
$ pipx install kvcopy
via docker:
$ docker pull ghcr.io/cpressland/kvcopy:latest
Copy a secret
$ kvcopy copy --src-vault-name $src_vault_name --dest-vault-name $dest_vault_name --key-name $key_name
Sync an entire vault
$ kvcopy sync --src-vault-name $src_vault_name --dest-vault_name $dest_vault_name