The information below is meant for users of the OpenTDF platform.
To contribute/develop, see here.
-
Initialize KAS Keys
.github/scripts/init-temp-keys.sh -o kas-keys
-
Stand up the local Postgres database and Keycloak instances using
docker compose up -d --wait
. -
Copy the
opentdf-example.yaml
file toopentdf.yaml
and update the configuration as needed. -
Bootstrap Keycloak
docker run --network opentdf_platform \ -v "$(pwd)/opentdf.yaml:/home/nonroot/.opentdf/opentdf.yaml" \ -it registry.opentdf.io/platform:nightly provision keycloak -e http://keycloak:8888/auth
-
Start the platform
Exposes the server at localhost:8080
docker run --network opentdf_platform \ -p "127.0.0.1:8080:8080" \ -v "$(pwd)/kas-keys/:/keys/" \ -v "$(pwd)/opentdf.yaml:/home/nonroot/.opentdf/opentdf.yaml" \ -it registry.opentdf.io/platform:nightly start
You can now access platform services at http://localhost:8080/ , and Keycloak at http://localhost:8888/auth/ .
- Try out our CLI (
otdfctl
): https://github.com/opentdf/otdfctlotdfctl auth client-credentials --host http://localhost:8080 --client-id opentdf --client-secret secret
- Join our slack channel (click here)
- Connect with the team