An API key has expired
Weik.io 2026.2A key reached its expiry date, so a request that uses it is refused from then on.
| Kind | Severity | Who sees it |
|---|---|---|
api- |
Warning | Platform administrators, in a list that isn’t narrowed to an environment or a project |
What it means#
The key reached the expiry it was made with. A request that uses it is refused from then on, so a pipeline that runs with the key stops at its first call.
What raises it#
The key’s expiry date has passed. The row gives the key’s name and when it expired.
What to check#
List the expired keys:
Terminal
$ weikio get apikeys --expiredThe row in the list gives the key’s owner and the access it has, so the new key can get the same access.
How to fix it#
Make a new key with the same access the list shows, put it where the old one was used, and delete the old one:
Terminal
$ weikio apikey create --name <name> --expires 365d --grant <project>/<role>@<environment>
$ weikio apikey revoke <keyId>A pipeline’s key can belong to another user. Add --user <id|email> to make the key for that user. The user’s grants decide what it can do.