Skip to content

Commit

Permalink
docs: Update commands in Consuming.md
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
shanedell committed Dec 3, 2024
1 parent 58cb3f6 commit 1dff0ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Consuming.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ To contribute/develop, see [here](./Contributing.md).
```sh
docker run --network opentdf_platform \
-v "$(pwd)/opentdf.yaml:/home/nonroot/.opentdf/opentdf.yaml" \
-v "$(pwd)/service/cmd/keycloak_data.yaml:/service/cmd/keycloak_data.yaml" \
-it registry.opentdf.io/platform:nightly provision keycloak -e http://keycloak:8888/auth
```
1. Start the platform
Expand All @@ -34,7 +35,7 @@ You can now access platform services at http://localhost:8080/ , and Keycloak at
## Next steps
* Try out our CLI (`otdfctl`): https://github.com/opentdf/otdfctl
```sh
otdfctl auth client-credentials --host http://localhost:8080 --client-id opentdf --client-secret secret
otdfctl auth client-credentials --host http://localhost:8080 opentdf secret
```
* Join our slack channel ([click here](https://join.slack.com/t/opentdf/shared_invite/zt-1e3jhnedw-wjviK~qRH_T1zG4dfaa~3A))
* Connect with the team

0 comments on commit 1dff0ee

Please sign in to comment.