envs

Sentry — CLI and source map upload

sentry/cli · version 1

envs add sentry/cli

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
SENTRY_AUTH_TOKEN required secret For the CLI rather than the runtime, so it is separate from the DSN. Sentry says to use a different token per use case, so a compromised one can be revoked without disturbing the rest, and shows an organisation token only once.. Shape ^sntrys_.+$. where to get it
SENTRY_ORG optional config Which organisation the upload belongs to. An identifier.. where to get it
SENTRY_PROJECT optional config Which project. An identifier.. where to get it

The JSON the CLI reads