Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.5 KB

Consuming.md

File metadata and controls

40 lines (31 loc) · 1.5 KB

Consumers

The information below is meant for users of the OpenTDF platform.

To contribute/develop, see here.

Running the Platform Locally

  1. Initialize KAS Keys .github/scripts/init-temp-keys.sh -o kas-keys

  2. Stand up the local Postgres database and Keycloak instances using docker compose up -d --wait.

  3. Copy the opentdf-example.yaml file to opentdf.yaml and update the configuration as needed.

  4. 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
  5. 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

🎉 Your platform is ready to use!

You can now access platform services at http://localhost:8080/ , and Keycloak at http://localhost:8888/auth/ .

Next steps

  • Try out our CLI (otdfctl): https://github.com/opentdf/otdfctl
    otdfctl auth client-credentials --host http://localhost:8080 --client-id opentdf --client-secret secret
  • Join our slack channel (click here)
  • Connect with the team