Skip to content
Snippets Groups Projects
Commit 6f8c975e authored by Lucas Roesler's avatar Lucas Roesler Committed by Alex Ellis
Browse files

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: default avatarLucas Roesler <roesler.lucas@gmail.com>
parent 2137fb54
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment