One template, and a clone for every run.
You give each template a fingerprint. Ask for the same template with the same fingerprint and Kiln reuses the one it has. A different fingerprint is a conflict, and Kiln keeps the template until you replace it.
-
kiln appliance postgres template db fixture-v1 --fingerprint <hash>Creates the template, or reuses the one that already has this fingerprint.
-
kiln appliance postgres clone db runtime-1 --source fixture-v1Clones a runtime database and returns its connection details.
-
kiln appliance postgres reset db runtime-1 --source fixture-v1Puts the clone back to the template's state.
-
kiln appliance postgres drop db runtime-1Drops a clone you no longer need.
Kiln hands back the connection details.
Each operation returns connection details scoped to that database. Your client never builds a URL by hand or runs provider SQL.
Output is safe to print by default. Passwords, tokens and credential URLs stay redacted until you pass
--show-secrets.
kiln appliance get db
kiln appliance connection db --field runtime_url --show-secrets