PlanetScale
An agent asks for one of these keys by its usual variable name, such as PLANETSCALE_DB_PASSWORD, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "planetscale/service_token" or the like.
A postgres_url field links here for someone who has no Postgres connection string yet: app.planetscale.com/new.
| Key | Usual names | Under any other name |
|---|---|---|
| Database password | PLANETSCALE_DB_PASSWORD, PLANETSCALE_PASSWORD | provider: "planetscale/password" |
| Service token | PLANETSCALE_SERVICE_TOKEN | provider: "planetscale/service_token" |
| Service token ID | PLANETSCALE_SERVICE_TOKEN_ID | provider: "planetscale/service_token_id" |
Database password
Made at app.planetscale.com. Looks like pscale_pw_….
- Starts with pscale_pw_
- At least 30 characters
Service token
Made at app.planetscale.com/~/settings/service-tokens. Looks like pscale_tkn_….
- Starts with pscale_tkn_
- At least 30 characters
Service token ID
Made at app.planetscale.com/~/settings/service-tokens.
- 6 to 64 characters