faas/sample-functions/ApiKeyProtected-Secrets
Carlos Panato 8fe40406fa redirect to another sample
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-06-06 18:55:43 +01:00
..
2019-06-06 18:55:43 +01:00

Api-Key-Protected sample

Please see apikey-secret

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.