# Keep an API key safe

Preview: opening soon. These controls describe the planned key lifecycle.

Treat an API key like a password for the person and shop named on it. Put it in a server secret store, restrict who can read that store, and give each integration its own key with only the areas it needs. The key is shown once. Outdoor Grid stores a hash and a short hint, not a recoverable copy.

Never put a key in browser code, a URL, an issue, a log, or a screenshot. Redact `og_live_` secrets before sharing traces. If you think a key leaked, revoke it in **Settings, Developers, API keys**, replace the server secret, and review the key's usage. Revocation takes effect on the next call.

Use **Replace this key** for a planned rotation. Its old key works for 24 hours to let a server switch over. Revoke a compromised key immediately. A Never expiry key keeps working until revoked and sends no expiry reminder; review its last used date and remove it when the program stops using it. A shop may hide Never by setting a maximum expiry.

Customer phone, email, and address need the separate **Customer contact details** choice, which starts off. Customer list reads also have a [daily record budget](/docs/api-keys/limits). Shop access ending or the API key switch turning off stops use regardless of the saved expiry.
