Skip to main content

Get license


Gets information on the currently used license.

The role that performs this operation must have the CapInfoReader capability. See Access control for more information about how capabilities are used to control access to operations.

Possible responses

The request is successful.

object required*
  • key - string required*

    The full license activation key.

  • expiration - string required*

    The expiration date of the token in an RFC3339Nano format.

"key": "string",
"expiration": "2022-07-05T08:47:12.041234Z"

Try the API


Navigate to the docs of your local Vault installation to try the API directly from there.

Code examples