Skip to main content
In this tutorial, you’ll configure Vault Enterprise performance replication between two clusters—a primary and a secondary. Performance replication streams all changes on the primary (auth methods, secrets engines, data, audit logs, etc.) to the secondary, ensuring high-throughput, low-latency synchronization.

Cluster Details


1. Enable Performance Replication on the Primary

  1. Authenticate to the primary cluster:
  2. Enable the primary replication role:
Enabling the primary replication role will briefly make Vault unavailable. Expect a short service interruption.
  1. Generate a wrapped token for the secondary:
Copy the wrapping_token value; you’ll need it to enable replication on the secondary node.

2. Enable Performance Replication on the Secondary

  1. Authenticate to the secondary cluster:
  2. Initialize the secondary with the wrapped token:

3. Verify Replication Status

Run this command on either node to check the performance replication status:

4. Token & Unseal Key Behavior

Once performance replication is active, the secondary cluster adopts the primary’s unseal keys and root tokens.
  • Attempting to log in with the old secondary root token fails:
  • Use the primary’s root token to authenticate on the secondary:

5. Replicating Auth Methods, Secrets Engines & Data

All Vault configuration changes—enabled auth methods, secrets engines, user accounts, and KV data—on the primary automatically replicate to the secondary. Example: Enable userpass auth and create a user on the primary:
Verify on the secondary:
Service tokens created on the primary do not replicate. Only Vault’s native auth methods and user credentials are mirrored.

Conclusion

With performance replication enabled, your secondary cluster stays in near real-time sync with the primary, providing a robust high-throughput, low-latency replication solution for read scaling and disaster recovery readiness.

Watch Video