Skip to main content

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

  1. 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}

  2. get access token:
    az account get-access-token --scope https://vault.azure.net/.default --query "accessToken"

Usage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azvaultcopy-1.0.0b1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azvaultcopy-1.0.0b1-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

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

Hashes for azvaultcopy-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 fe020f873e8617eff3dfa495bbe2a4356f1126acb4f335da5b69d5faf03e3c9f
MD5 94495dd77d586a16d4e7571566415d61
BLAKE2b-256 c45c48f400ed66616da2fa6f7dc72dd5ba9be30a587fc6b6d0032535b767c2cf

See more details on using hashes here.

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

Hashes for azvaultcopy-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 33c2edc7304bc9bb5cbf9bd9a1dcd3ac8860c1d0347849c6a7d3a37c74a0b8dd
MD5 1558012ce6534d96c6520a97ed2a56f4
BLAKE2b-256 cadb3d4aa7daeda5c946970af0d627d87628044043dde3aa52e22bd10458df11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page