create-react-app-and-sentry-example icon indicating copy to clipboard operation
create-react-app-and-sentry-example copied to clipboard

Need .env example file

Open Santheepkumar opened this issue 4 years ago • 1 comments

Need .env example file and add how to get auth token in readme file sir.or else explain me to how to do that????

Thankyou

Santheepkumar avatar Jul 08 '20 10:07 Santheepkumar

@Santheepkumar not sure if you still need this, but here's the sentry docs: https://docs.sentry.io/product/cli/configuration/#to-authenticate-manually

You can use: https://sentry.io/settings/account/api/auth-tokens/ to generate a token and then can pass it as an env variable or add this to your .sentryclirc file:

[auth]
token=your-auth-token

They don't recommend checking your auth token into your repo, but if you decide to do it anyway, you should at least scope down the permissions on the token to only project:releases which is all you need for this use case.

DHBrett avatar Nov 28 '20 21:11 DHBrett