Keys / Brevo
BREVO_API_KEY
The Brevo API key your app sends email and manages contacts with. It has full access, or only the resources you choose.
- Starts with
xkeysib-- Expires
- you choose, 7 days to 1 year, or never; deactivated after 90 days unused
- API
- create only, for a sub-account, from the master account
Get it
Create one on app.brevo.com/settings/keys/api. The steps aren't recorded yet.
Set it
BREVO_API_KEY=xkeysib-...
The Brevo CLI reads it for non-interactive login. The SDKs don't; your app passes the key in. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- On the API Keys & MCP page, click Generate API key. Give it the same access and permissions as the old one.
- Deploy it everywhere that reads
BREVO_API_KEY. Both keys work in the meantime. - Check the old key's Last used on date. Once nothing uses it, delete it from its three-dots menu.
Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.