Create a branch password for your app

passwords & credentials

// what it does

Mints a named credential (username + password + host) scoped to one branch of a Vitess database — what your deployed app puts in its DATABASE_URL. Name it after the consumer (my-app-prod, metabase) so the password list reads like an access inventory.

// shell

$ pscale password create mydb main my-app-prod

// gotcha

The plaintext password is shown exactly once, at creation. Store it immediately in your secret manager (e.g. `wrangler secret put DATABASE_URL` for a Worker); if you lose it, you create a new password and delete the old one — there's no reveal.

// resources