FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests