Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 878 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 878 Bytes

Synthesized TDK Vault Demo

test vault

Run Vault server and databases:

docker compose run databases

1. Run TDK with dynamic database roles

dynamic users

export INVENTORY_FILE=inventory_dynamic_users.yaml
docker compose run tdk

2. Run TDK with static database roles

static users

export INVENTORY_FILE=inventory_static_users.yaml
docker compose run tdk

3. Run TDK with simple Vault secrets

simple secret

export INVENTORY_FILE=inventory_simple_secret.yaml
docker compose run tdk

Check results

Execute control_query.sql script on the resulted database:

usql pg://postgres:postgres@localhost:6001/postgres -f control_query.sql