LICENSE.INFO
LICENSE.INFO
- Group
- License
- Complexity
- O(1)
- Arity
- 1 (exactly, counting the command name)
- Flags
- admin, fast
- HotKV Cloud
- All plans
- On-Premise
- no license needed
LICENSE.INFO shows whether this server has a license in force, when it
expires, and which enterprise and AI features it turns on. It needs no
license itself. To install a license, see
LICENSE.SET and
LICENSE.RELOAD, or the
On-Premise quick start.
Fields to check
Section titled “Fields to check”| Field | Meaning |
|---|---|
state |
Whether the license is in force |
reason |
Details when the license is not in force, in plain words (empty otherwise) |
licensee |
Who the license is for |
features |
The features the license covers, comma separated, as the NOLICENSE errors name them (for example replication, encryption-at-rest, audit-log), or none |
expires_at |
When the license expires, as a UTC timestamp |
days_until_expiry |
Days left until expires_at |
Return value
Section titled “Return value”A map in RESP3, or a flat array of field and value pairs in RESP2. Dates
are bulk strings (empty when not known); days_until_expiry is an integer.
Examples
Section titled “Examples”Output shortened:
127.0.0.1:6379> LICENSE.INFO 1) "state" 2) "valid" 3) "reason" 4) "" 5) "licensee" 6) "Acme Corp" 7) "features" 8) "replication, encryption-at-rest, audit-log"...Compatibility
Section titled “Compatibility”HotKV-only command.
See also
Section titled “See also”LICENSE.CHECK, LICENSE.SET, LICENSE.RELOAD, On-Premise quick start
Was this page helpful?
Thanks for the feedback.