From 1dff0eef23de3cb9d6c13b4c9dacf14922c485d5 Mon Sep 17 00:00:00 2001 From: Shane Dell Date: Tue, 3 Dec 2024 13:01:07 -0500 Subject: [PATCH] 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. --- Consuming.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Consuming.md b/Consuming.md index 3b5755639..f2041681d 100644 --- a/Consuming.md +++ b/Consuming.md @@ -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 @@ -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