mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
* Update README Let contributors know that docs will now be located in UDR * Add comments to each mdx doc Comment has been added to all mdx docs that are not partials * chore: added changelog changelog check failure * wip: removed changelog * Fix content errors * Doc spacing * Update website/content/docs/deploy/kubernetes/vso/helm.mdx Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com> --------- Co-authored-by: jonathanfrappier <92055993+jonathanfrappier@users.noreply.github.com> Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
58 lines
2.0 KiB
Plaintext
58 lines
2.0 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: license get - Command
|
|
description: |-
|
|
The "license get" command reports on the license in use.
|
|
---
|
|
|
|
> [!IMPORTANT]
|
|
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.
|
|
|
|
# license get
|
|
|
|
@include 'alerts/enterprise-only.mdx'
|
|
|
|
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](/vault/docs/enterprise/license/autoloading).
|
|
|
|
## Examples
|
|
|
|
Describe current license:
|
|
|
|
```shell-session
|
|
$ vault license get
|
|
Key Value
|
|
--- -----
|
|
expiration_time 2022-05-17T23:59:59Z
|
|
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
|
|
termination_time 2031-05-17T23:59:59Z
|
|
```
|
|
|
|
Get stored license string:
|
|
|
|
```shell-session
|
|
$ vault license get -signed
|
|
02MV4UU43BK5H...
|
|
```
|
|
|
|
Try to get stored license string when using autoloading:
|
|
|
|
```shell-session
|
|
$ vault license get -signed
|
|
License not found or using a temporary license.
|
|
```
|
|
|
|
## Usage
|
|
|
|
The following flags are available in addition to the [standard set of
|
|
flags](/vault/docs/commands) included on all commands.
|
|
|
|
### Command options
|
|
|
|
- `-signed` `(bool: false)` - Return the signed license string when using a
|
|
stored license.
|