Skip to content

Commit

Permalink
Fix env var name and improve order of steps to create realms (#529)
Browse files Browse the repository at this point in the history
## Describe your PR

Fix env var name and improve order of steps to create realms

## Checklist

- [x] My PR is related to an opened issue : no
- [x] I've read the [contributing
guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md)

## Reviewers
_Who should review these changes?_ @CleverCloud/reviewers
  • Loading branch information
Huluti authored Feb 25, 2025
1 parent e0e1053 commit 6ef3077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/doc/addons/keycloak.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ The number of realms significantly impacts the overall performances. **Use as fe

**The recommended way** to create realms is by using the environment variables of the Java application of the Keycloak add-on. Thus, it comes with an optimized configuration such as brute-force detection and specific metrics:

- In the Java application, go to the `Environment variables` panel and declare as many realms as you need, separated by a `,`
- Restart the application after the change. For example `REALMS=realm_1,realm_2` declares `realm_1` and `realm_2`
- In the Java application, go to the `Environment variables` panel and in the `CC_KEYCLOAK_REALMS` environment variable, declare as many realms as you need, separated by a `,`. For example `CC_KEYCLOAK_REALMS=realm_1,realm_2` declares `realm_1` and `realm_2`.
- Restart the application after the change.

You can also create a realm from the Keycloak administrator console. On the dropdown menu from the top left corner, click `create realm`.

Expand Down

0 comments on commit 6ef3077

Please sign in to comment.