Skip to content

API keys

Under Configuration → API Keys, you manage Firewall API keys. Clients use a Firewall API key to authenticate runtime filtering calls to the Firewall API, including the Open WebUI integration.

The key list shows the status of each key:

Status Meaning
Active The key works. If an expiry date is set, it is still in the future.
Permanent No expiry date set, the key does not expire.
Expires soon Active, but the expiry date is within the next 7 days.
Expired The expiry date has passed. The key is rejected on every call.
Disabled Temporarily turned off, rejected until it is re-enabled.
Revoked Permanently invalidated, rejected on every call.

Rotate keys before they reach their expiry date to avoid interruption: an expired key is rejected on its next call, just like a revoked one.

Keys with their scope, expiry and state.

Create an API key

  1. Go to Configuration → API Keys and select Create new API key.
  2. Give the key a Name.
  3. Choose the Scope. Standard (traffic) is the default and is used for filtering calls. Configuration management (admin) can also create and edit firewall configs via the API.
  4. (Optional) set an Expires at date. Leave it empty for a key that never expires.
  5. Select Create Key.
Name, scope and expiry of a new key.
The new key, shown once.

MATVIS then shows the new key once, on a "Save your key" screen. Click the field to select the key, copy it, and store it somewhere safe before closing the dialog: for security, the full key is never displayed again.

Store keys securely

Treat API keys like passwords. The secret is shown only at creation time. Copy it into a secret manager right away, if you lose it you cannot retrieve it and must create a new key.

Disable, revoke or delete an API key

Open the menu of a key in the list to choose an action:

  • Disable: turns the key off. It is rejected until you select Enable. This is reversible.
  • Revoke: invalidates the key for good. It stays in the list as Revoked and cannot be enabled again.
  • Delete: removes the key from the list.

Edit expiry changes the expiry date of a key that is not revoked. A client that uses a disabled, revoked or deleted key is rejected on its next call.

Use the key

Provide the key as the API key in your client. See Integrations.