mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Add configuration options
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
basic-auth
|
||||
============
|
||||
|
||||
This component provides plug-in authentication for the OpenFaaS gateway using basic authentication secrets.
|
||||
This component implements [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) as an OpenFaaS authentication plug-in.
|
||||
|
||||
Wikipedia: [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication)
|
||||
To run this plugin you will need to create and bind a secret named `basic-auth-user` and `basic-auth-password`
|
||||
|
||||
| Option | Usage |
|
||||
|------------------------|--------------|
|
||||
| `port` | Set the HTTP port |
|
||||
| `secret_mount_path` | It is recommended that this is set to `/var/openfaas/secrets` |
|
||||
|
Reference in New Issue
Block a user