Alex Ellis a077dd7627 Bump samples/versions - reduce image sizes through multi-stage builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 11:20:40 +00:00
..
2017-03-31 20:40:25 +01:00
2017-03-31 20:40:25 +01:00

Api-Key-Protected sample

To use this sample provide an env variable for the container/service in secret_api_key.

Then 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.