From 826eb7badbd43055d69654f56b7ceeb055e19cff Mon Sep 17 00:00:00 2001 From: Paul Pieralde Date: Mon, 4 Dec 2017 07:34:05 -0800 Subject: [PATCH] Fix docs for Transit API (#3588) --- website/source/api/secret/transit/index.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/api/secret/transit/index.html.md b/website/source/api/secret/transit/index.html.md index 2ad67ae85b53..01de3664a727 100644 --- a/website/source/api/secret/transit/index.html.md +++ b/website/source/api/secret/transit/index.html.md @@ -790,7 +790,7 @@ supports signing. Required if key derivation is enabled; currently only available with ed25519 keys. - - `prehashed` `(bool: false)` - Set to `true` when the input is already +- `prehashed` `(bool: false)` - Set to `true` when the input is already hashed. If the key type is `rsa-2048` or `rsa-4096`, then the algorithm used to hash the input should be indicated by the `algorithm` parameter. @@ -855,11 +855,11 @@ data. `/transit/hmac` function. Either this must be supplied or `signature` must be supplied. - - `context` `(string: "")` - Base64 encoded context for key derivation. +- `context` `(string: "")` - Base64 encoded context for key derivation. Required if key derivation is enabled; currently only available with ed25519 keys. - - `prehashed` `(bool: false)` - Set to `true` when the input is already +- `prehashed` `(bool: false)` - Set to `true` when the input is already hashed. If the key type is `rsa-2048` or `rsa-4096`, then the algorithm used to hash the input should be indicated by the `algorithm` parameter.