Selaa dokumentaatiota

How to create and revoke API keys

Lukuaika 2 minView as Markdown

Create keys to connect your systems to the Wascer API, choose permissions and expiry, and revoke the keys you no longer use.

API keys let your systems operate your account through the Wascer API, for example to view and manage containers and domains. Keys created here start with wc_us_. The API documentation is at wascer.com/docs.

The container database (Database API) uses different keys, the ones that start with pk_. They are in the next section of the same page: see Database API keys.

Create a key

  1. Click your name at the bottom of the sidebar and choose Settings.
  2. In the API keys section, click New key.
  3. In Name, use a name that reminds you where the key will be used, like "CRM integration".
  4. Under Permissions, check at least one. Read comes checked.
  5. If you want, pick a date in Expires on (optional). The key is valid until the end of that day. Without a date, it's valid until revoked.
  6. Click Create key.

Permission

What it allows

Read

View containers and settings.

Update

Change existing resources.

Write

Create and remove resources.

Copy the key right away

The full key is shown only once, in the Copy your key now window.

  1. Click Copy key and store it somewhere safe, like a password manager.
  2. Click I've copied it.

After that, the list shows only the masked key. If you lose the key, revoke it and create another.

Track and revoke keys

The list shows the name, the masked key, the permissions, the creation date, Last used (or Never used) and the status: Active, Expired or Revoked.

To revoke an active key:

  1. Click Revoke on the key's row.
  2. Confirm with Revoke.

Integrations that use the key stop working immediately. This can't be undone.

Good practices

  • Create one key per integration. That way you can revoke one without affecting the others.
  • Check only the permissions the integration needs.
  • Use Expires on for temporary access.
  • Revoke keys you no longer use. The Last used column helps you find them.

API key update notice

The Dashboard page may show the API key update notice. If your integration uses an old key, create a new key here, switch it in the integration and test it. Keep the old key while anything still depends on it. The notice's View API keys button opens this section.

Was this article helpful?

Still stuck? Talk to support.

Comments

Leave a comment

Only your first name and last initial appear on the site; your email stays with us. See the privacy policy.