R140 Store a credential a program generates at runtime in the runtime tier

On by default

Superseded by R299 Keep in each vault only the credentials of one service or use, R301 Grant a service account write access only where its use must write.

Store a credential that a program generates at runtime (the OAuth token that claude setup-token generates, for example) in the runtime tier, the part of the secret manager kept for credentials that programs generate.

Reason

Such credentials are generated, and generated again, by programs on the machine, which must be able to write them. Kept apart from the general credentials that people put in, they are the only tier the machines’ service accounts may write, and the general tier stays read-only.

Verification

The runtime tier is the part of the secret manager (a vault, say) that the jurisdiction sets aside for credentials that programs generate. Agents on a development machine read and write it through the machine’s own service account (rule 139).

Violated when a credential that a program generated at runtime is stored in another tier, or anywhere outside the secret manager.

Provisions of the constitution it cites

Relations

Parent
R137 Secret Manager
Requires
R43 Store credentials only in the places designated for them
Conflicts with
none

Metadata

ID
140
Revision
4
Kind
rule
Status
superseded
Slug
runtime-credentials-in-runtime-tier
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh