2017-09-08 02:08:03 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: operator key-status - Command
|
|
|
|
sidebar_title: <code>key-status</code>
|
2017-09-08 02:08:03 +00:00
|
|
|
description: |-
|
|
|
|
The "operator key-status" provides information about the active encryption
|
|
|
|
key.
|
|
|
|
---
|
|
|
|
|
|
|
|
# operator key-status
|
|
|
|
|
|
|
|
The `operator key-status` provides information about the active encryption key.
|
|
|
|
Specifically, the current key term and the key installation time.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Get the key status:
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-09-08 02:08:03 +00:00
|
|
|
$ vault operator key-status
|
|
|
|
Key Term 2
|
|
|
|
Install Time 01 Jan 17 12:30 UTC
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2018-02-12 23:12:16 +00:00
|
|
|
The following flags are available in addition to the [standard set of
|
2020-01-22 20:05:41 +00:00
|
|
|
flags](/docs/commands) included on all commands.
|
2018-02-12 23:12:16 +00:00
|
|
|
|
|
|
|
### Output Options
|
|
|
|
|
|
|
|
- `-format` `(string: "table")` - Print the output in the given format. Valid
|
|
|
|
formats are "table", "json", or "yaml". This can also be specified via the
|
|
|
|
`VAULT_FORMAT` environment variable.
|