R299 Keep in each vault only the credentials of one service or use

On by default

Divide the credentials in the secret manager among its vaults by the service or use they serve, and keep in each vault only the credentials of its one service or use.

Reason

Access is granted a vault at a time. When a vault holds only what one use needs, whoever is granted it for that use gets nothing else, and a leak through it reaches only that use.

Verification

A vault is a part of the secret manager that access is granted on as a whole; some secret managers call it a vault, others a folder or a project. A use is a service, or a kind of work such as agents on development machines reading the credentials people put there for them, or programs storing the credentials they generate. Which uses there are and which vault serves each is set in the jurisdiction.

Violated when a vault holds a credential of a service or use other than the one it is kept for.

Provisions of the constitution it cites

Relations

Parent
R137 Secret Manager
Requires
none
Conflicts with
none

Metadata

ID
299
Revision
2
Kind
rule
Status
active
Slug
vault-per-use
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh