Skip to content
Discussion options

You must be logged in to vote

A DSN alone is not enough for a secret-enabled project. Project creation returns sentry.dsn and sentry.headers; the headers include X-Bicho-Secret. Configure the SDK transport to send those headers on ingestion requests.

For an existing @sentry/node integration, using the saved project-creation response:

Sentry.init({
  dsn: project.sentry.dsn,
  transportOptions: { headers: project.sentry.headers },
  tracesSampleRate: 0,
  sendClientReports: false,
});

Keep the generated response in secure backend configuration. Project listings deliberately omit credentials, and creating another project does not recover the old project's credentials. Each creation call registers a separate project.

If …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zapalblizh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants