license inspect
The license inspect
command describes the contents of a signed license string.
Examples
Describe license in the environment (either VAULT_LICENSE
for a raw value
or VAULT_LICENSE_PATH
for the path to a file containing the value):
$ vault license inspectSource: /Users/ncc/vaults/licenseProduct: vaultLicense ID: 060d7820-fa59-f95c-832b-395db0aeb9baCustomer ID: 5401ae3b-136b-3e47-3b43-432927fa03e7Installation ID: *Issue Time: 2021-05-17 19:33:47.93981585 +0000 UTCStart Time: 2021-05-17 00:00:00 +0000 UTCExpiration Time: 2022-05-17 23:59:59.999 +0000 UTC{"license_id":"060d7820-fa59-f95c-832b-395db0aeb9ba","customer_id":"5401ae3b-136b-3e47-3b43-432927fa03e7","installation_id":"*","issue_time":"2021-05-17T19:33:47.93981585Z","start_time":"2021-05-17T00:00:00Z","expiration_time":"2022-05-17T23:59:59.999Z","flags":{"modules":["multi-dc-scale","governance-policy","advanced-data-protection"]},"features":["HSM","Performance Replication","DR Replication","MFA","Sentinel","Seal Wrapping","Control Groups","Performance Standby","Namespaces","KMIP","Entropy Augmentation","Transform Secrets Engine","Lease Count Quotas","Key Management Secrets Engine","Automated Snapshots"],"performance_standby_count":9999} License is valid
Describe license at given path:
$ vault license inspect ~/vaults/licenseSource: /Users/ncc/vaults/licenseProduct: vaultLicense ID: 060d7820-fa59-f95c-832b-395db0aeb9baCustomer ID: 5401ae3b-136b-3e47-3b43-432927fa03e7Installation ID: *Issue Time: 2021-05-17 19:33:47.93981585 +0000 UTCStart Time: 2021-05-17 00:00:00 +0000 UTCExpiration Time: 2022-05-17 23:59:59.999 +0000 UTC{"license_id":"060d7820-fa59-f95c-832b-395db0aeb9ba","customer_id":"5401ae3b-136b-3e47-3b43-432927fa03e7","installation_id":"*","issue_time":"2021-05-17T19:33:47.93981585Z","start_time":"2021-05-17T00:00:00Z","expiration_time":"2022-05-17T23:59:59.999Z","flags":{"modules":["multi-dc-scale","governance-policy","advanced-data-protection"]},"features":["HSM","Performance Replication","DR Replication","MFA","Sentinel","Seal Wrapping","Control Groups","Performance Standby","Namespaces","KMIP","Entropy Augmentation","Transform Secrets Engine","Lease Count Quotas","Key Management Secrets Engine","Automated Snapshots"],"performance_standby_count":9999} License is valid
Usage
The following flags are available in addition to the standard set of flags included on all commands.
Command Options
-installation-id
(string: "")
- Installation ID to validate the license against