Skip to content

Add sentry token subcommands (create, list, delete) #1111

@betegon

Description

@betegon

Currently, creating a Sentry auth token (org or personal) requires navigating to the Sentry UI manually. This adds friction for local dev workflows and makes it impossible for agents or automated scripts to provision tokens without human intervention.

Add a sentry token subcommand group:

  • sentry token create — create a new org or personal token, printing the result to stdout
  • sentry token list — list existing tokens for the authenticated account/org
  • sentry token delete — delete a token by ID or name

Current behavior: users must visit the Sentry UI to create tokens; sentry auth token only prints the CLI's stored token.

Gap: no programmatic path to mint a new token from the CLI, blocking agent-driven and CI setup flows that need a fresh token scoped for a specific purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    jaredTrigger the Jared agent to work on stuff
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions