Skip to content

Commit 7f54fb1

Browse files
weltekialexellis
authored andcommitted
Add built-in auth section to authentication reference
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 9b70e69 commit 7f54fb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/authentication.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Whether your functions require authentication will depend upon the consumers of
1313

1414
In most cases, whatever you would use with a HTTP server or microservice can be applied with OpenFaaS.
1515

16+
### Built-in authentication
17+
18+
With OpenFaaS Identity and Access Management (IAM) you can secure function endpoints without having to write any additional code. See: [IAM Function Authentication](/openfaas-pro/iam/function-authentication/)
19+
1620
### Webhooks
1721

1822
When functions receive webhooks, most publishers of events will not support any form of authentication. Messages are verified using symmetric keys, where the client (your function) and the server (GitHub, Stripe, YouTube, etc) share the same secret. When a webhook is received, then your function must create a hash of the payload and compare it with a digest sent by the server. If they match, then the message is genuine. This technique is called [HMAC (hash-based message authentication code)](https://en.wikipedia.org/wiki/HMAC).

0 commit comments

Comments
 (0)