From cda917a0d8e2d883aa0e3c7151960197c382db9b Mon Sep 17 00:00:00 2001 From: Shane Dell Date: Tue, 3 Dec 2024 13:01:07 -0500 Subject: [PATCH] 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 #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. --- Consuming.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Consuming.md b/Consuming.md index 3b5755639..e96bfe90c 100644 --- a/Consuming.md +++ b/Consuming.md @@ -13,7 +13,9 @@ To contribute/develop, see [here](./Contributing.md). ```sh docker run --network opentdf_platform \ + --rm \ -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 @@ -34,7 +36,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