faas/sample-functions/ApiKeyProtected-Secrets
Martin Dekov (VMware) ade5f32513 Bump files to use alpine:3.8
Bump Dockerfiles and mentions of alpine 3.7 to be now
3.8

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-16 20:27:05 +00:00
..
2017-12-16 16:08:52 +00:00
2018-11-16 20:27:05 +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.