infra/docs/keycloak/keycloak-update-realm.md
teutat3s c18a9da4e9
All checks were successful
Flake checks / Check (pull_request) Successful in 3m29s
keycloak: update docs to use admin-cli client
instead of ops user
2024-06-10 20:35:40 +02:00

23 lines
721 B
Markdown

# Process for updating a keycloak realm via CLI
### Keycloak
Required:
- auth.pub.solar admin-cli service user credentials
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
Run the following after SSH'ing to `nachtigall`:
```
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/