R139 On a development machine, read the secret manager only through the machine’s own service account

On by default

Superseded by R300 Grant a service account only the vaults its use needs, R301 Grant a service account write access only where its use must write, R302 Give each machine and each service a service account of its own.

On a development machine, read the secret manager only through that machine’s own service account, and read general credentials, those that people put in the secret manager for agents to use, from the general tier, the part of the secret manager kept for them, read-only.

Reason

Agents on a development machine run unattended, so what they can read has to be bounded by a service account granted only what it needs. Each machine has one of its own, so when one machine is compromised, only its service account needs rotating.

Verification

A development machine is one that agents work on unattended, with no person there to unlock each read. A tier is a part of the secret manager (a vault, say) kept for one kind of credential; the general tier holds the credentials people put there for agents to use. Which machines are development machines, and which part of the secret manager is the general tier, is set in the jurisdiction. The machine’s service account reads the general tier, reads and writes the runtime tier (rule 140), and sees no other part of the secret manager.

Violated when an agent on a development machine reads the secret manager through another service account or by another route, reads from a tier other than the general tier and the runtime tier, or writes to the general tier.

Provisions of the constitution it cites

Relations

Parent
R137 Secret Manager
Requires
none
Conflicts with
none

Metadata

ID
139
Revision
4
Kind
rule
Status
superseded
Slug
development-machine-reads-through-its-service-account
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh