Vault
Autoload an enterprise license
Enterprise
Appropriate Vault Enterprise license required
Assumptions
- You have an available Vault Enterprise license key.
- You have admin privileges for your Vault deployment environment.
Vault Enterprise automatically looks for valid license information in the following locations:
| Priority | Location | Variable / Field |
|---|---|---|
| 1 | Environment variable | VAULT_LICENSE |
| 2 | Environment variable | VAULT_LICENSE_PATH |
| 3 | Config file | license_path |
To configure license loading:
- Run
vault versionto confirm the build date of your Vault binary is before the expiry date of your license key. Vault will not start if the applied license is expired. - Access the run environment for your Vault cluster.
- Set the license key on each node of your cluster.
- Make sure all nodes within a cluster use the same license key. Vault logs warnings if nodes within a cluster use different license key. Different clusters can use different license keys.
- Call the
/sys/config/reload/licenseendpoint on each standby node for the cluster. Refreshing the license on standby nodes first reduces potential disruptions if you run into problems. - Call the
/sys/config/reload/licenseendpoint on the leader node for the cluster. - Run
vault license geton each node or review the unseal logs for each node to verify the new license applied correctly.