/sys/key-status
The /sys/key-status
endpoint is used to query info about the current
encryption key of Vault.
Get encryption key status
This endpoint returns information about the current encryption key used by Vault.
Method | Path |
---|---|
GET | /sys/key-status |
Sample request
Sample response
The term
parameter is the sequential key number. install_time
is the
time that encryption key was installed. encryptions
is the estimated
number of encryptions made by the key including those on other cluster
nodes.
Note that the estimated encryption count is aggregated from secondary Vault nodes to the primary but not in the other direction. Thus the count only accurately reflects the cluster-wide estimate when queried on the primary.