Multi-Target Classic Key Provisioning

Overview

This feature allows a single Akeyless Classic Key to be provisioned and managed centrally while being simultaneously mapped to multiple external KMS across different cloud environments.

Provisioning via CLI

Multi-target provisioning workflow can also be performed using the Akeyless CLI. Using the CLI, a single Classic Key can be associated with multiple external targets by repeating the target association step.

Step 1: Create a Classic Key

akeyless create-classic-key \
  --name my-shared-key \
  --alg AES256GCM

Step 2: Create External Targets

AWS KMS Target

akeyless target-create-aws \
  --name aws-kms-target \
  --access-key-id <ACCESS_KEY_ID> \
  --access-key <ACCESS_KEY>

Azure Key Vault Target

akeyless target-create-azure-kv \
  --name azure-kv-target \
  --tenant-id <TENANT_ID> \
  --client-id <CLIENT_ID> \
  --client-secret <CLIENT_SECRET> \
  --vault-name <KEY_VAULT_NAME>

GCP KMS Target

akeyless target-create-gcp \
  --name gcp-kms-target \
  --project-id <GCP_PROJECT_ID> \
  --location <LOCATION> \
  --key-ring <KEY_RING> \
  --service-account-key <SERVICE_ACCOUNT_JSON>

Step 3: Associate the Same Classic Key with Each Target

akeyless assoc-target-item \
  --name my-shared-key \
  --target-name aws-kms-target

akeyless assoc-target-item \
  --name my-shared-key \
  --target-name azure-kv-target

akeyless assoc-target-item \
  --name my-shared-key \
  --target-name gcp-kms-target

Provisioning via Console


Step 1: Create or Select a Classic Key

  1. In the Akeyless Console, navigate to Items
  2. Create a new Classic Key or select an existing one
  3. Open the key to view its details

Step 2: Open the Provisioning Tab

  1. Inside the Classic Key view, navigate to the Provisioning tab
  2. This tab displays all external targets currently attached to the key

Step 3: Attach an External Target

  1. Click Attach
  2. Enter the External Key Name
    1. This is the key name that will be created in the external KMS
    2. Each target may use a different external key name if required
  3. Select the target (for example, an AWS KMS target)
  4. Choose the provisioning mode:
  5. Click Save

Step 4: Verify the Provisioned Target

  1. After saving, return to the Provisioning tab
  2. Confirm that the new target appears in the targets list
  3. Verify:
    1. External Key Name
    2. Target type
    3. Target path

Step 5: Repeat for Additional Targets

To provision the same Classic Key to another external system:

  1. Click Attach again
  2. Select a different target (AWS, Azure, GCP, Thales, etc.)
  3. Provide a new External Key Name if needed
  4. Save the configuration

You can repeat this process multiple times, each time adding another external target while continuing to manage a single Classic Key in Akeyless.


Footer Section