I am using couchbase server 6.6 eventing with curl function that calls some REST services. These REST services support HMAC authentication and JWT token based authentication.
Can I generate JWT tokens in eventing?
Can I generate HMAC tokens in eventing?
Currently the Couchbase Eventing service supports four styles of authentication via the bindings in the Function’s settings.
Next we have digest, here you can test things out via a legal username postman and password via a public API,
change the password and it will fail
curl --location --request GET 'https://postman-echo.com/digest-auth' --digest -u postman:password
Finally we have ‘bearer’ but this gets a bit more complicated to test (reach out to me via direct message if you want a detiled examples test jig and an eventing function).
Intuitively it would be a “simple” as a function call
If this capability being built into Eventing important or critical to you please reach out to your sales channel and have them open up CBSE (our internal enhancement request tracking process)
Hope this helps