Keys / Asana
ASANA_ACCESS_TOKEN
The personal access token your app or script calls the Asana REST API with. It acts as you.
- Expires
- never by default; Enterprise+ admins can change that
- API
- none; developer console only
Get it
Create one on app.asana.com/0/my-apps. The steps aren't recorded yet.
Set it
ASANA_ACCESS_TOKEN=...
The official Python and Node.js SDKs don't read it; your app passes the token in. Asana's SDK examples read it from ASANA_ACCESS_TOKEN. Or keep it out of .env with keypin: keypin run -- npm run dev
Replace it
- In the developer console, create a new personal access token.
- Deploy it everywhere that reads
ASANA_ACCESS_TOKEN. Both tokens work in the meantime. - Check that nothing still uses the old token, then deauthorize it.
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.