Skip to content

v1.0.3

Compare
Choose a tag to compare
@wushilin wushilin released this 26 Nov 07:45
· 11 commits to main since this release

Added support for external IAM via trusted header.

Example in your application.properties:

Allow users identified by x-user

authentication.mode=request-header
request-header.name.username=x-user
#request-header.name.group=x-group
request-header.group.admin.name=$any
request-header.group.viewer.name=$any

Allow users identified by x-user and group identified by x-group

authentication.mode=request-header
request-header.name.username=x-user
request-header.name.group=x-group
request-header.group.admin.name=my_iam_role_admin
request-header.group.viewer.name=my_iam_role_viewer
# Requests with heders: x-user: steve, x-group: my_iam_abc,my_iam_role_admin will be allowed full access