If a secret key may have been exposed, replace it straight away. You can do it without downtime.
Replace and revoke
- 1In Developers → API keys, create a new key with the same access.
- 2Deploy it to your servers in place of the old one.
- 3Revoke the old key. It stops working at once.
Then check
Review the audit log and recent payments for anything you don't recognize. Your wallet is safe either way: no API key can move its funds.
More tips in security best practices.