faas/sample-functions/ApiKeyProtected-Secrets
Sean Smith 2292aab829 Update to golang 1.9.7
Issue #660 has been open for a while to update to 1.9.6, this
performs the update to the latest in the 1.9 release (1.9.7)

Signed-off-by: Sean Smith <sean@wwsean08.com>
2018-06-16 08:37:11 -07:00
..
2017-12-16 16:08:52 +00:00
2018-06-16 08:37:11 -07: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.