Skip to content

Commit cda917a

Browse files
committed
chore(docs): Update commands in Consuming.md
- Update docker command to volume in keycloak_data.yaml. - Command fails to run if this file isn't present. - Update otdfctl client-credentials command. - Created issue opentdf#1785, that came up when testing this documentation. - Specifically, when the otdfctl command tries to run it fails due to it looking for the keycloak host instead of localhost. - Add --rm to bootstrap keycloak command so no hanging container is leftover.
1 parent 4d47475 commit cda917a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Consuming.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ To contribute/develop, see [here](./Contributing.md).
1313

1414
```sh
1515
docker run --network opentdf_platform \
16+
--rm \
1617
-v "$(pwd)/opentdf.yaml:/home/nonroot/.opentdf/opentdf.yaml" \
18+
-v "$(pwd)/service/cmd/keycloak_data.yaml:/service/cmd/keycloak_data.yaml" \
1719
-it registry.opentdf.io/platform:nightly provision keycloak -e http://keycloak:8888/auth
1820
```
1921
1. Start the platform
@@ -34,7 +36,7 @@ You can now access platform services at http://localhost:8080/ , and Keycloak at
3436
## Next steps
3537
* Try out our CLI (`otdfctl`): https://github.com/opentdf/otdfctl
3638
```sh
37-
otdfctl auth client-credentials --host http://localhost:8080 --client-id opentdf --client-secret secret
39+
otdfctl auth client-credentials --host http://localhost:8080 opentdf secret
3840
```
3941
* Join our slack channel ([click here](https://join.slack.com/t/opentdf/shared_invite/zt-1e3jhnedw-wjviK~qRH_T1zG4dfaa~3A))
4042
* Connect with the team

0 commit comments

Comments
 (0)