You can create just a new DSN and delete old ones. You can find this in your project settings -> Client Keys.
Recommending storing the DSN somewhere private would be conflicting messaging from our side.
Letâs imagine you use @sentry/browser on your website, itâs impossible to hide the DSN in javascript. No one stops you from using the same DSN on your server.
So you see, we canât make it secret so we donât tell people itâs a secret, itâs basically an id identifying your account.
I understand that some DSNâs have to be public, but I strongly believe that some effort to keep them private is warranted. Iâm pushing for a change to documentation to this effect over here if anybody wants to wade in:
(that issue references this forum post as a reason not to encourage private DSNs, so figured Iâd link up the circle.)