R302 Give each machine and each service a service account of its own

On by default

Give each machine and each service that reads the secret manager through a service account a service account of its own, shared with no other machine or service.

Reason

With one service account each, what each machine or service can reach is set by its own grants (rule 300); when one is compromised, only its service account needs rotating, and the others keep working.

Verification

Which machines and services read the secret manager through a service account, and which service account each uses, is set in the jurisdiction.

Violated when two machines or services use the same service account, or the token of one machine’s or service’s service account is used on another.

Provisions of the constitution it cites

Relations

Parent
R137 Secret Manager
Requires
none
Conflicts with
none

Metadata

ID
302
Revision
2
Kind
rule
Status
active
Slug
own-service-account-per-machine-and-service
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh