From 1fe39bca6a44ec87e7968fbbbd68fd774045f9dd Mon Sep 17 00:00:00 2001 From: Sergey Pashinin Date: Wed, 5 May 2021 07:56:29 +0300 Subject: [PATCH] Info about Vault KV v2 --- deployhooks.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployhooks.md b/deployhooks.md index 9e9e2fd..cce9048 100644 --- a/deployhooks.md +++ b/deployhooks.md @@ -384,6 +384,13 @@ variable to anything (ex: "1") before running `acme.sh`: export FABIO="1" ``` +If you are using **v2** of the **kv** api then set the `VAULT_KV_V2` environment variable to +anything (ex: "1") before running `acme.sh` (do not forget to change VAULT_PREFIX as well) + +```sh +export VAULT_KV_V2="1" +``` + You can also use `--deploy-hook vault` instead of `vault_cli`. In that case Vault's HTTP API will be used allowing you to use Docker image for deployment without Vault binary.