From 6f8c975ee8ddb5c11aed58059022bbeb187c3da9 Mon Sep 17 00:00:00 2001 From: Lucas Roesler Date: Mon, 11 Dec 2017 20:50:55 +0100 Subject: [PATCH] Update guide with minimum cli version info **What** - Add a note indicating that `faas-cli>=0.5.1` is required for the examples. Signed-off-by: Lucas Roesler --- guide/secure_secret_management.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/secure_secret_management.md b/guide/secure_secret_management.md index cdeed6b7..34efcd47 100644 --- a/guide/secure_secret_management.md +++ b/guide/secure_secret_management.md @@ -29,6 +29,8 @@ Notice that it is using the value of `NODE_ENV` from the stack file, the default ## Using Swarm Secrets +_Note_: The examples in the following section require `faas-cli` version `>=0.5.1`. + For sensitive value we can leverage the [Docker Swarm Secrets](https://docs.docker.com/engine/swarm/secrets/) feature to safely store and give our functions access to the needed values. Using secrets is a two step process. Take the [ApiKeyProtected](../sample-functions/ApiKeyProtected) example function, when we deploy this function we provide a secret key that it uses to authenticate requests to it. First we must add a secret to the swarm ```sh