Limits and recommended practices that apply to access tokens (personal access tokens and service account keys).
Recommended practices
- One credential per consumer - never share a token across apps or teams, so you can revoke one without breaking others.
- Set an expiry and rotate before it lapses, using create-before-delete.
- Least privilege - a token is exactly as powerful as the role bound to its owner; grant the minimum needed.
For the full guidance, see Token security best practices.
See also
Last modified on September 29, 2026