envs

Xata — Postgres platform

xata/database · version 1

envs add xata/database

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
XATA_API_KEY required secret Xata names the variable but its API keys page says nothing about keeping one private, so it is secret here. Replaced rather than reset: the CLI creates and deletes keys with no command to change one.. where to get it
DATABASE_URL optional secret For the serverless proxy, read from the CLI rather than typed. Unusually, the branch password behind it rotates in place with a single command.. where to get it

The JSON the CLI reads