API keys in the console

Create a key for each service, give it only the access it needs, and copy the secret when it is shown.

Finding the page

Open the project, then Manage, then API Keys. The Developers area has two sub-tabs, API keys and Webhooks. The API keys page lists the project's keys with columns for Key, Status, Access and Last used, plus a row actions control:

  • Key: the name, with the stored display prefix under it.
  • Status: ACTIVE for a key that works.
  • Access: a summary, such as Full access with a resource count, Read only with a count, or No access.
  • Last used: the date the key last authenticated a request, or Never.

When the project has no keys, the page reads "No keys yet. Create one to start integrating."

Creating a key

Create key opens a dialog with four steps. The first shows a name field, the project's environment and an expiry:

  • Environment: a Sandbox key or a Production key, following the project's own environment. A production key works with the project's live environment, where checks are billed. A sandbox key works with its sandbox environment.
  • Expires: Never, 30 days, 90 days, 1 year or Custom. Custom sets no expiry today, so it behaves like Never.

The second step sets access. Start from Full access (write on every resource except media and analytics, which stay read only), Read only, or Custom, then set each of the eleven resources to none, read or write; media and analytics cannot be set to write. The dialog counts how many resources are granted. The third step shows a review, and the fourth shows the secret once, with a copy control.

Rotating and revoking

The actions control on a row offers Rotate and Revoke. Rotation shows the new secret once in a Key rotated dialog. Revoke is available only while the key is active. The page also notes that a key's full secret is shown once, when you create or rotate it.

Related pages