Lucas Roesler 0fef825fb4 Add support to specify secrets in services
**What**
- During function creation, accept an array of strings defining swarm secrets
that are required for the service
- Update docs
- Add new guide on using the secrets capability
- Add new sample function to highlight using environment variables
- Update `ApiKeyProtected` sample function to utilize the new secrets
capabilities

**Why**
- This allows secrets to remain encrypted at rest instead of being unencrypted
in environment variables and yaml files.

Fixes #285

Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
2017-12-16 16:08:52 +00:00
..
2017-11-30 01:02:58 +01:00
2017-11-30 16:43:56 +00:00
2017-12-03 09:50:33 -06:00
2017-12-01 10:20:57 +00:00
2017-10-26 09:49:08 +01:00
2017-10-28 09:47:06 +01:00
2017-11-14 10:12:15 +00:00
2017-12-11 07:23:20 -08:00
2017-10-31 22:45:02 +00:00

OpenFaaS guides

This page is a collection of our key blog posts, tutorials and guides while we prepare a dedicated site for documentation. For other queries please get in touch for a Slack invite or ping @openfaas on Twitter.

There is a PR underway for the new documentation site

Suggestions for new topics are welcome. Please also check the Issue tracker.

Deployment guides (start here)

A foreword on security

These instructions are for a development environment. If you plan to expose OpenFaaS on the public Internet you need to enable basic authentication with a proxy such as Kong or Traefik at a minimum. TLS is also highly recomended and freely available with LetsEncrypt.org. Kong guide Traefik guide.

Note: We are also looking to automate authentication "out the box" to cover edge cases.

Intermediate

Blog posts and tutorials

Hands-on with Node.js / Go / Python

Project background, design decisions and architecture:

Hands-on with containers as functions

Fine-tuning / high-throughput

Raspberry Pi & ARM

Your Serverless Raspberry Pi cluster with Docker

Extend OpenFaaS