Skip to content

Commit 9fd257b

Browse files
Update role-mapping-resources.asciidoc (#110441) (#110442)
made it clear that some characters need to be escaped properly Co-authored-by: Jan Doberstein <[email protected]>
1 parent 2ccd910 commit 9fd257b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/rest-api/security/role-mapping-resources.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ example, `"username": "jsmith"`.
7070
`groups`::
7171
(array of strings) The groups to which the user belongs. For example, `"groups" : [ "cn=admin,ou=groups,dc=example,dc=com","cn=esusers,ou=groups,dc=example,dc=com ]`.
7272
`metadata`::
73-
(object) Additional metadata for the user. For example, `"metadata": { "cn": "John Smith" }`.
73+
(object) Additional metadata for the user. This can include a variety of key-value pairs. When referencing metadata fields in role mapping rules, use the dot notation to specify the key within the metadata object. If the key contains special characters such as parentheses, dots, or spaces, you must escape these characters using backslashes (`\`). For example, `"metadata": { "cn": "John Smith" }`.
7474
`realm`::
7575
(object) The realm that authenticated the user. The only field in this object is the realm name. For example, `"realm": { "name": "ldap1" }`.
7676

0 commit comments

Comments
 (0)