API keys
An API key lets a map client load the imagery in chosen projects as map tiles, without anyone signing in. Keys are under Settings > API Keys.
What a key can do
- It works only with the Albatross Tiles API. It cannot sign in to the web app or call anything else.
- It reads only the projects you choose, as a project Viewer. Its access, Map tiles (WMTS) (
tiles:read), cannot be changed. - Every key expires.
- Every tile it loads counts towards your workspace's tile usage. See Tiles API metering.
Who can do this
Only a workspace Admin can see, create, edit, rotate or revoke keys and view their usage.
Before you start: map tiles must be enabled
To enable map tiles, contact your account manager or contact support.
Create an API key
In Settings > API Keys, select Create API Key, then choose a Name, how long it Expires after and at least one project.
The name must be unique among the workspace's live keys; a revoked key's name can be reused.
The API Key Created dialog is the only time the key (starting alb_) is shown. Copy it before you select Done. If you lose it, rotate the key.
View a key
Select a key's name to see its details, projects, this month's usage and connection instructions. The key itself is never shown again.
Update a key
To update the name or projects select Edit API key.
To update the expiry, rotate the key and redistribute.
Rotate a key
Rotating issues a new key with a new expiry, keeping the name, projects and usage history. Select Rotate API key, choose when the new key expires, then copy it and update every map client.
The old key stops working within a minute, with no overlap. To update a key without downtime, create a second key, move clients to it, then revoke the first.
You can rotate an expired key, but not a revoked one.
Revoke a key
Select Revoke API key. Within a minute every map client using it loses access. This cannot be undone: create and distribute a new key to restore access.
Expiry alerts
Workspace Admins get an API Key \{name\} Expiring Soon notification 14 days before a key expires, so rotating sets up a new alert. None is sent while map tiles are ended or not enabled. See Notifications.
Errors a map client may report
See the status codes in Troubleshooting.
Changes to a key or to map tiles take up to a minute to reach map clients, and a client may keep showing tiles it cached for up to an hour.