Skip to content
ONDI

← All terms

Websites & CMS

API key

Japanese APIキー

A secret, key-like string used to connect with other services. PHP2Shell can leak it from memory, so replacing it is recommended.

Protecting a secret key between two services and rotating it after exposure

An API key is a long string your website shows when it calls another service, such as payments, maps or email sending, to prove that it really is you. Like a building pass card, whoever holds the string is treated as the owner and let in. If it falls into someone else's hands, they could send email in your name or use paid features on your account. In WordPress, keys are often stored in a plugin's settings screen or in a configuration file.

Watch out Fixing PHP on the server does not stop a key that has already leaked from working. After PHP2Shell, list every key your site uses, create a new one in each service's dashboard, switch the site's settings to the new key, and then disable or delete the old one. Afterwards, check that the connected features still work. Do not pass new keys around by email or chat, and keep them known only to the people who really need them.

Source: Stripe Docs, “API keys” (checked 2026-10-25)

See also

A typo here, a clumsy button there.

This site is still being polished. Spot something? Tell us — we’ll fix it and send a small thank-you gift.

🎁 Thank-you gift