faas/sample-functions/ApiKeyProtected-Secrets
Alex Ellis 8ef52ce806 Update Dockerfiles to latest watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-22 10:28:22 +01:00
..
2017-12-16 16:08:52 +00:00
2018-03-10 10:32:23 +01:00

Api-Key-Protected sample

See the secure secret management guide for instructions on how to use this function.

When calling via the gateway pass the additional header "X-Api-Key", if it matches the secret_api_key value then the function will give access, otherwise access denied.