cmdline tool to copy Azure Key Vault certs and secrets from one vault to another in same or a different tenant
Project description
AzVaultCopy
Exports secrets and certs from one Key Vault and import to another on same Entra Tenants or across 2 different Tenants
Features
- Python 3.11 cmdline tool
- exports not only latest objects, but also all older versions that is enabled, Exportable and not expired
- Displays a summary report of what has and has not been exported or imported on console
- supports exporting all versions of certs and secrets on local drive, while importing to destination vault
- supports exporting objects to local drive only and skip importing to destination vault
Authentication & Authorization
Repeat the 2 steps if destination vault is in a different Entra Tenant
- sign in using either an Azure user account or service principal
-
user account
az login --tenant {tenant id} -
service principal
az login --service-principal -u -p --tenant {tenant id}
-
- get access token:
az account get-access-token --scope https://vault.azure.net/.default --query "accessToken"
Usage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azvaultcopy-1.0.0b1.tar.gz.
File metadata
- Download URL: azvaultcopy-1.0.0b1.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe020f873e8617eff3dfa495bbe2a4356f1126acb4f335da5b69d5faf03e3c9f
|
|
| MD5 |
94495dd77d586a16d4e7571566415d61
|
|
| BLAKE2b-256 |
c45c48f400ed66616da2fa6f7dc72dd5ba9be30a587fc6b6d0032535b767c2cf
|
File details
Details for the file azvaultcopy-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: azvaultcopy-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33c2edc7304bc9bb5cbf9bd9a1dcd3ac8860c1d0347849c6a7d3a37c74a0b8dd
|
|
| MD5 |
1558012ce6534d96c6520a97ed2a56f4
|
|
| BLAKE2b-256 |
cadb3d4aa7daeda5c946970af0d627d87628044043dde3aa52e22bd10458df11
|