Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Basic Auth to the gateway #5
Add and enable basic auth plugin.
Users can now find their basic auth username and passwords in the
users will then need to authenticate with their gateway, this can be done like this:
export OPENFAAS_URL=<ip-from-hosts-file>:8080 cat gateway-basic-auth | faas-cli login --username admin --password-stdin
This was tested by implementing basic auth plugin, then trying to connect to gateway via UI and CLI without authenticating (alex also connected to my local gateway using inlets). No user action was allowed when not authenticated.
Once authenticated we could create and invoke functions.
Signed-off-by: Alistair Hey firstname.lastname@example.org
Add and enable basic auth to the gateway. This allows users to put their gateway on the internet and expose it to public networks without anyone being able to control their deployments. Added information to the README that allows users to get their gatewau basic auth password and username Signed-off-by: Alistair Hey <email@example.com>
I've cut this release, could you update the PR description with the commands like faas-cli login etc? https://github.com/alexellis/faasd/releases/tag/0.4.0