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.)