Skip to content

Commit

Permalink
Add explanation of "keys" field. (hashicorp#9676)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Gritter authored Aug 7, 2020
1 parent 1ba4300 commit d090626
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/pages/api-docs/secret/transit/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ $ curl \
}
```

The `keys` attribute lists each version of the key, and the time that key was created as seconds since the Unix epoch.
The sample response shows a key that was created on September 22, 2015 7:50:12 PM GMT, and has not been rotated.

The fields `supports_encryption`, `supports_decryption`, `supports_derivation` and `supports_signing` are
derived from the type of the key, and indicate which operations may be performed with it.

## List Keys

This endpoint returns a list of keys. Only the key names are returned (not the
Expand Down

0 comments on commit d090626

Please sign in to comment.