mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00: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.