0
Project-scoped API tokens (restrict a token to specific projects)
Source: getsentry/sentry#130401 · opened by @sentry-junior[bot]
Problem Statement Sentry auth tokens can be limited by permission scope (e.g. project:read, event:read), but not by project. Organization auth tokens and internal integration tokens can reach every project in the org, and personal tokens inherit the user's full access. Teams are giving more automated agents (AI coding agents, CI bots, automation) access to the Sentry API. For least privilege, these are usually set up per project or service. Today the only way to get close is one dedicated user account per agent, added only to the teams that own the target projects, with Open Membership disabled. That costs a seat per agent, adds user lifecycle work, and ties machine credentials to human identities instead of org-owned credentials. The Sentry MCP server's project-scoped URL (/mcp/{org}/{project}) narrows which project the tools target. It's a guardrail in the MCP server, though, not a Sentry permission: the token still carries full user or org access, and some lookups…
No pledges yet. Be the first to back this.
Comments
Similar requests
Provide a way to revoke leaked personal auth tokens during offboarding
0 votes · 0 comments
API to Validate Auth Tokens
0 votes · 0 comments
Let an integration rotate its own client secret, and accept GitHub Actions OIDC for release uploads
0 votes · 0 comments
Configurable expiration (TTL) for personal and organization auth tokens
0 votes · 0 comments
[Feature Request] Add "Last Used" column to custom internal integration auth tokens
1 vote · 0 comments
No comments yet.