Authorization header:
API keys and the admin API need the Pro plan or above. If your organization moves to a plan without them, its keys are kept but refused until it moves back.
Key format
aiveth_sk_marks it as an Aiveth secret key, so secret scanners can find a leaked one.live_is a key of your Production organization.test_is a key of your Development environment. A key works only in the environment that made it.- The random part is base62 (digits and letters). The checksum lets Aiveth refuse a made-up or mistyped key without a database lookup.
Make a key
1
Open API keys
In the console, open API keys and select Make key. You need the
apps:manage power to see this page.2
Name it
Enter a Name, such as “HR sync”. The name appears in the activity log for every change the key makes.
3
Choose its powers
Under What it may do, tick only the powers this server needs.
4
Choose when it ends
Under Ends after, choose 30, 90 or 365 days, or never. Your Owners get an email a week before it ends.
5
Limit where it may come from (optional)
Under Only from these addresses, add IP addresses or ranges, one per line, such as
203.0.113.10 or 203.0.113.0/24. Leave empty to allow any address.6
Copy the key
Select Make key, copy the key, then select I’ve saved it. This is the only time it is shown.
Powers
Each power needs a matching permission held by the person who makes the key. You can’t give a key a power you don’t have yourself.Who a key acts as
- The key belongs to the organization, not to a person. It keeps working when the person who made it leaves. Who made it is recorded.
- A key never does more than its maker could when they made it. It keeps the maker’s reach as it was at that moment: it can’t give a role its maker couldn’t give.
- A key never acts as an Owner. It can’t give, take or edit the Owner role.
- Every change is in the activity log as done by the key, for example
API key "HR sync".
Address allowlist
If a key has addresses, Aiveth accepts it only from a caller whose IP address is in one of them. Up to 20 addresses or ranges, IPv4 or IPv6. A call from anywhere else is refused with401, exactly as if the key were wrong.
Rotate a key with overlap
To replace a key without downtime:- In API keys, select New secret next to the key.
- Copy the new key. It has the same name, powers, addresses and lifetime.
- Put the new key where the old one is.
End a key
Select End, then End now. The key stops working at once.Limits
- At most 25 live keys per organization.
- Each key shows when it was last used, to the minute.
- Rate limits are per key or per organization; see Errors and limits.