Mapping rules are a method for Users to configure a mapping from a claim in their OIDC to a role/tenant in Camunda, there are two methods to achieve this, one is via the Identity UI which is documented, the other is via environment variables which is not documented. This programatic style of creating mapping rules can be useful to both customers and internal users for environment initialisation.
We should document these variables in a way that enables our users to access the functionality.
IDENTITY_MAPPINGRULES_<index>_OPERATOR can have a value of equals (string) or contains (multivalue matching)
IDENTITY_MAPPINGRULES_<index>_RULETYPE can have a value of tenant or role
Field interactions
Only one of these variables is set based on the IDENTITY_MAPPINGRULES_<index>_RULETYPE value.
Description
Mapping rules are a method for Users to configure a mapping from a claim in their OIDC to a role/tenant in Camunda, there are two methods to achieve this, one is via the Identity UI which is documented, the other is via environment variables which is not documented. This programatic style of creating mapping rules can be useful to both customers and internal users for environment initialisation.
We should document these variables in a way that enables our users to access the functionality.
Variables
Field values
IDENTITY_MAPPINGRULES_<index>_OPERATOR
can have a value ofequals
(string) orcontains
(multivalue matching)IDENTITY_MAPPINGRULES_<index>_RULETYPE
can have a value oftenant
orrole
Field interactions
Only one of these variables is set based on the
IDENTITY_MAPPINGRULES_<index>_RULETYPE
value.