Keys / Pulumi
PULUMI_ACCESS_TOKEN
The Pulumi Cloud access token the Pulumi CLI signs in with in CI, without pulumi login prompting.
- Starts with
pul-- Expires
- you choose, up to 2 years, or never
- API
- create, list and delete, with a personal access token
Get it
Create one on app.pulumi.com/account/tokens. The steps aren't recorded yet.
Set it
PULUMI_ACCESS_TOKEN=pul-...
The Pulumi CLI reads it, so the Automation API, which runs the CLI, picks it up too. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- Create a new token of the same kind: personal, organization or team. Give an organization token the same role.
- Deploy it everywhere that reads
PULUMI_ACCESS_TOKEN. - Check that nothing still uses the old token, then delete it. Deleting revokes it at once.
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.