Skip to main content
All CollectionsPayment GatewaysStripe Direct
Stripe Keys - What to do if you've lost your Secret API Key
Stripe Keys - What to do if you've lost your Secret API Key
Kevin Cheav avatar
Written by Kevin Cheav
Updated over 4 months ago


In live mode, new secret keys are only visible the first time you access them. After that, the Dashboard redacts the API key, which is what is now showing on your end. If you lose your secret key, you can’t recover it from the Dashboard and must revoke the key or create another one. Please remember to store your secret key in a safe place, as having to roll it means your old API key will need to be swapped out for the new one.


To roll for a new API Key:
· Go to your Stripe Dashboard
· Select 'Developers' on the left of the page, then click 'API Keys.'

Here is a link to the page on your Dashboard:
https://dashboard.stripe.com/account/apikeys


· Select the '•••' button on the right of the API key you'd like to roll
· Select 'Roll key...'
· Select when you'd like your old keys to be expired and enter your password to confirm.


Selecting your old keys to expire at a future time will allow you to get a new key and make the necessary changes to your integrations with no downtime.

Once rerolled, your old keys will expire, so please keep in mind that integrations will stop working if they aren't updated.

A link with more specifics:
https://stripe.com/docs/keys

Did this answer your question?