faas/sample-functions/ApiKeyProtected-Secrets
Lucas Roesler 5f30c7570f Use builder pattern in ApiKeyProtected-Secrets
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-12-16 16:08:52 +00:00
..
2017-12-16 16:08:52 +00:00
2017-12-16 16:08:52 +00:00
2017-12-16 16:08:52 +00: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.