mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 23:03:24 +00:00
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 <roesler.lucas@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
2137fb54df
commit
6f8c975ee8
@ -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
|
||||
|
Reference in New Issue
Block a user