infra/docs/keycloak/keycloak-update-realm.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
721 B
Markdown
Raw Permalink Normal View History

2023-11-16 21:04:29 +00:00
# Process for updating a keycloak realm via CLI
### Keycloak
2024-05-08 20:57:07 +00:00
2023-11-16 21:04:29 +00:00
Required:
2024-05-08 20:57:07 +00:00
- auth.pub.solar admin-cli service user credentials
2024-06-10 18:26:20 +00:00
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
2024-05-08 20:57:07 +00:00
2024-06-10 18:26:20 +00:00
Run the following after SSH'ing to `nachtigall`:
2023-11-16 21:04:29 +00:00
2024-06-10 18:26:20 +00:00
```
2023-11-16 21:04:29 +00:00
sudo -u keycloak kcadm.sh config credentials --config /tmp/kcadm.config --server http://localhost:8080 --realm master --user admin
sudo -u keycloak kcadm.sh get --config /tmp/kcadm.config realms/pub.solar
sudo -u keycloak kcadm.sh update --config /tmp/kcadm.config realms/pub.solar -s browserFlow='Webauthn Browser'
sudo -u keycloak kcadm.sh get --config /tmp/kcadm.config realms/pub.solar
```
Source: https://keycloak.ch/keycloak-tutorials/tutorial-webauthn/