Change your Vault license
Enterprise
Appropriate Vault Enterprise license required
Vault Enterprise automatically checks the following locations, in order, and stops once it finds a valid license.
| Order | Location | Variable / Field |
|---|---|---|
| 1 | Environment variable | VAULT_LICENSE |
| 2 | Environment variable | VAULT_LICENSE_PATH |
| 3 | Config file | license_path |
Even if you place a license in multiple places, Vault only uses the first valid license it finds and ignores the rest.
To change your current Vault Enterprise license:
- 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.
- Run
vault license getto review the features associated with the current license. For example: - Run
vault license inspectto verify the new license and review and changes to feature support. - Save the current license key to a backup parameter or file.
- Replace the current license key with the new license key.
- 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.