keycloak: update docs to use admin-cli client
All checks were successful
Flake checks / Check (pull_request) Successful in 3m29s
All checks were successful
Flake checks / Check (pull_request) Successful in 3m29s
instead of ops user
This commit is contained in:
parent
b687997390
commit
c18a9da4e9
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
Required:
|
Required:
|
||||||
|
|
||||||
- auth.pub.solar ops user credentials
|
- auth.pub.solar `admin-cli` service user credentials
|
||||||
- [SSH access to host `nachtigall`](./administrative-access.md#ssh-access)
|
- [SSH access to host `nachtigall`](./administrative-access.md#ssh-access)
|
||||||
|
|
||||||
Run each of the following after SSH'ing to `nachtigall`:
|
Run each of the following after SSH'ing to `nachtigall`:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo --user keycloak kcadm.sh config credentials --config /tmp/kcadm.config --server http://localhost:8080 --realm pub.solar --user ops
|
sudo --user keycloak kcadm.sh config credentials --config /tmp/kcadm.config --server http://localhost:8080 --realm pub.solar --client admin-cli
|
||||||
|
|
||||||
# Take note of user id in response from following command
|
# Take note of user id in response from following command
|
||||||
sudo --user keycloak kcadm.sh get --config /tmp/kcadm.config users --realm pub.solar --query email=<email-address>
|
sudo --user keycloak kcadm.sh get --config /tmp/kcadm.config users --realm pub.solar --query email=<email-address>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
Required:
|
Required:
|
||||||
|
|
||||||
- auth.pub.solar ops user credentials
|
|
||||||
- auth.pub.solar admin-cli service user credentials
|
- auth.pub.solar admin-cli service user credentials
|
||||||
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Required:
|
Required:
|
||||||
|
|
||||||
- auth.pub.solar ops user credentials
|
- auth.pub.solar admin-cli service user credentials
|
||||||
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
||||||
|
|
||||||
Run the following after SSH'ing to `nachtigall`:
|
Run the following after SSH'ing to `nachtigall`:
|
||||||
|
@ -12,7 +12,7 @@ Run the following after SSH'ing to `nachtigall`:
|
||||||
```
|
```
|
||||||
mkdir /tmp/keycloak-credential-reset
|
mkdir /tmp/keycloak-credential-reset
|
||||||
|
|
||||||
sudo --user keycloak kcadm.sh config credentials --config /tmp/kcadm.config --server http://localhost:8080 --realm pub.solar --user ops
|
sudo --user keycloak kcadm.sh config credentials --config /tmp/kcadm.config --server http://localhost:8080 --realm pub.solar --client admin-cli
|
||||||
|
|
||||||
sudo --user keycloak kcadm.sh get --config /tmp/kcadm.config users --realm pub.solar | jq --raw-output '.[] | .id' > /tmp/keycloak-credential-reset/all-uuids
|
sudo --user keycloak kcadm.sh get --config /tmp/kcadm.config users --realm pub.solar | jq --raw-output '.[] | .id' > /tmp/keycloak-credential-reset/all-uuids
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Required:
|
Required:
|
||||||
|
|
||||||
- auth.pub.solar ops user credentials
|
- auth.pub.solar admin-cli service user credentials
|
||||||
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
- [SSH access to host `nachtigall`](../administrative-access.md#ssh-access)
|
||||||
|
|
||||||
Run the following after SSH'ing to `nachtigall`:
|
Run the following after SSH'ing to `nachtigall`:
|
||||||
|
|
Loading…
Reference in a new issue