»license get

The license get command reports on the license in use. With the -signed flag, it will return the actual license string, but only if the license is stored, as opposed to autoloaded.

»Examples

Describe current license:

$ vault license get
Key                          Value
---                          -----
expiration_time              2022-05-17T23:59:59.999Z
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]
license_id                   060d7820-fa59-f95c-832b-395db0aeb9ba
performance_standby_count    9999
start_time                   2021-05-17T00:00:00Z
$ vault license getKey                          Value---                          -----expiration_time              2022-05-17T23:59:59.999Zfeatures                     [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]license_id                   060d7820-fa59-f95c-832b-395db0aeb9baperformance_standby_count    9999start_time                   2021-05-17T00:00:00Z

Get stored license string:

$ vault license get -signed
02MV4UU43BK5H...
$ vault license get -signed02MV4UU43BK5H...

Try to get stored license string when using autoloading:

$ vault license get -signed
License not found or using a temporary license.
$ vault license get -signedLicense not found or using a temporary license.

»Usage

The following flags are available in addition to the standard set of flags included on all commands.

»Command Options

  • -signed (bool: false) - Return the signed license string when using a stored license.