Skip to content
All questionsSecurity

What to do if the secret key ends up in the wrong hands? | MULENPAY

Reissue the key in the dashboard: the old value stops working immediately and the new one is shown once. After that, update it everywhere it is configured and check whether anyone managed to use the leak.

The order of actions

  • Reissue the key in the store keys section and save the new value at once — it will not be shown again.
  • Update it in module settings, environment variables and any service that calls the API.
  • Review operations since the leak: look for payments and refunds you did not initiate.
  • Change passwords and enable two-factor authentication if dashboard access leaked too.

How to tell the key leaked

  • The key showed up in a repository, a chat or a screenshot.
  • Operations appeared that none of your services created.
  • Notifications arrive at an address you never configured.

How to avoid a repeat

  • Keep keys in environment variables, not in code or version-controlled configs.
  • Give separate keys to separate services so revoking one does not stop everything.
  • Reissue keys when an employee with access leaves.

How to store keys so this does not happen is covered separately.

See how this works at MulenPay

Still have questions?

Write to us — we will answer and help you start accepting payments.

Telegram bot

@Mulenpay_support_bot

Quick answers 24/7

Legal address

RBY Commerce Ltd.

8 Copthall, Roseau Valley, 00152, Commonwealth of Dominica

Leave a request

Fill out the form — a manager will get in touch, tailor the terms and help with the integration.

By clicking the button, you agree to the processing of personal data.

TelegramTelegram