Use one for anything shared
The test is simple: if the thing would still need to run after you left, it
should not be on your key.
What it can do
A service account is not a way around permissions. It rides the same machinery everyone else does:- It joins the account as a Member, which is the least it can be and still use the API at all.
- Anything beyond that is granted to it one permission at a time, exactly the way you would grant a permission to a person.
- Actions that publish, spend, delete or hand out access still stop for a human decision, whoever — or whatever — is asking. See Who can use the API.
Creating its keys
Service accounts appear in the Holder list when you create a key:1
Open Settings → API & MCP and choose New key
The same page and the same dialog you use for your own keys.
2
Pick the service account as the Holder
The dialog says it plainly — use a service account for an integration, so
the key survives someone leaving. If the list shows only people, your
account has no service account yet.
3
Choose its reach and expiry
Narrow it to a single workspace if the integration only touches one, and
set an expiry if the work is temporary. Both are easier to decide now than
to tighten later.
4
Copy the key once
It is shown once and never again, exactly like a personal key. Put it
straight into the secret store your integration reads.
Setting a service account up is an account Owner’s decision, not something
a member does for themselves — the same posture as adding a person to the
account.
Stopping one
Two levers, and they are different sizes:- Revoke one key. Stops that one integration on its very next call. The service account’s other keys keep working.
- Deactivate the service account. Stops every key it holds. This is permanent — a deactivated identity is never brought back, because resurrecting one would quietly re-arm every key it ever had. If you need it again, create a new one.
Good habits
- One service account per system, not one for everything. Then stopping a vendor does not stop your own jobs.
- Give it the narrowest reach that works — a single workspace if that is all it touches.
- Name it after the thing that uses it, so a year from now the keys list still explains itself.
- Never share its key with a person. If someone needs to try something, they should use their own key.