mirror of
https://github.com/openfaas/faas.git
synced 2025-06-27 01:03:26 +00:00
Enable custom filename for auth credentials
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -5,7 +5,9 @@ This component implements [Basic Authentication](https://en.wikipedia.org/wiki/B
|
||||
|
||||
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 |
|
||||
| Option | Usage |
|
||||
|---------------------------------|--------------|
|
||||
| `port` | Set the HTTP port |
|
||||
| `secret_mount_path` | It is recommended that this is set to `/var/openfaas/secrets` |
|
||||
| `user_filename` | File to read from disk for username, default empty |
|
||||
| `pass_filename` | File to read from disk for username, default empty |
|
||||
|
Reference in New Issue
Block a user