Bläddra i källkod

Add note about multiple realms to README.

Kestrel 1 år sedan
förälder
incheckning
89fd3ac0e6
1 ändrade filer med 13 tillägg och 0 borttagningar
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -69,6 +69,19 @@ changed with `--port`.
 $UIDC server
 ```
 
+#### Realms ####
+
+uidc implements 'realms', or independent authentication domains. By default,
+everything is in the `primary` realm, but you can switch to another realm with
+`-r`. For example:
+
+```shell
+$UIDC realm create secondary
+$UIDC -r secondary user create someuser
+```
+
+Each realm has its own set of users, groups, roles, and clients.
+
 #### RBAC ####
 
 uidc implements a simple role-based authentication schema. it works as follows: