Keys & credentials
Scoped ingest keys, API keys and service accounts; rotate and revoke.
In the console: Console → Settings → Credentials · Settings → Projects & access → Service accounts
All guides
AppStatus uses three kinds of credentials, and each can do exactly one thing. Ingest keys only send data, each scoped to one signal (agent, APM, RUM, logs, errors, security …). Service-account tokens (sa_…) only read, for scripts and dashboards. MCP keys only answer AI clients. None of them can sign in to the console.
Only a hash of each secret is stored, so a key or token is shown once, when it is created.
Why use it
- You want every install to have a credential that can do only its one job, and to rotate or revoke one without touching the rest.
How it works
- 1Keys are random secrets; only their hash is stored. Each request is matched by hash, and the key’s scope decides which endpoints accept it.
What you get
- Keys created per service by Get Started.
- Last-used time per key and per service account.
- One-click revoke; a revoked key is refused at once with 401.
- A “Revoke all ingestion keys” emergency switch under Settings → Danger zone.
Set it up
Get Started shows these commands with your key already filled in — copying from there is the quickest path. Here, <your-key> marks where it goes.
- 1
Let Get Started create ingest keys
Each setup creates a key for exactly that service. You rarely need to create one by hand.
- 2
Create one by hand
Settings → Credentials → Create key. Pick the scope and copy it — it is not shown again.
- 3
Create a service account
Settings → Projects & access → Service accounts → New service account (Owners and Admins). Copy the sa_… token; it reads this workspace and cannot change anything. See API & automation.
Use it
- 1
Rotate a key
Create a new key, run the install command again with it (every installer replaces the key and restarts), check data arrives, then revoke the old key.
- 2
Keep keys out of code
Put keys in the service’s environment or secret store; the installers write them to files only root can read.
Uninstall / remove
- 1
Revoke
Settings → Credentials → Revoke (or revoke the service account). Anything still using it gets 401.
Troubleshooting
The problems seen most, each with what to run. Still stuck? See the general Troubleshooting guide.
401 with a key that “should work”
Wrong scope (an APM key cannot send host data), revoked, or from another workspace. Check the key’s scope and last-used time on the Credentials page.
403 “A service account can only read”
Service accounts are read-only by design. Writes (creating monitors, uploading source maps, restoring logs) are done in the console.
I lost a key
Keys cannot be shown again. Create a new one and revoke the lost one.
Related guides
Security & access
API & automation
Read-only service-account tokens, the OpenAPI descriptions, every ingest endpoint and rate limits.
Start here
Get Started
The one setup flow every service uses: choose, name, copy one command, verify.
Start here
Troubleshooting
No data, key refused, 429, blocked network: the fixes that work for every service.
Intelligence
MCP gateway
Give your own AI assistant read-only tools over AppStatus.
Something here does not match what you see in the console? Open Help → Support in AppStatus or write to support@appstatus.io with the page and what you ran.