Agent Constitution
Source code
    • 中文
  • Constitution
    • 2026-10 Edition
  • Rules
  • Design
    • Overview
    • File structure
    • Source formats
    • The constitution
    • Rules and relaxations
    • Skills
    • Compilation
    • Static site
    • Frontend
    • Checkers, fixtures and feedback
    • Amendments and releases
    • Agent Fleet and migration
    • Rule system
    • Rule format
    • Rule sets, references and dependencies
    • Rule checks and review
    • The statute command
    • Rule sources
    • Global configuration and git sources
    • Rule configuration
Agent Constitution
  1. Security
  2. Credentials

R265 Credentials

On by default

How a credential is checked, passed to a program, stored, and kept out of every output and away from other agents, and what to do when one leaks; how a secret manager is divided is under rule 137. Enable it wherever agents work.

Relations

Parent
R13 Security
Below it
R22 Confirm a credential is in place by its presence only
R23 Confirm a credential works by one read-only call of the program that uses it
R24 Pass a credential to a program only through the environment or a file
R36 Never ask for, read or repeat a credential's value
R37 Stop using a credential out of place and report it for rotation at once
R43 Store credentials only in the places designated for them
R44 Keep credentials out of every output
R45 Never pass a credential from one agent to another
R50 Scan the staged changes for credentials in the commit hooks
R279 Pass a credential to a program only through the environment or a file
R291 Keep credentials out of every output and never pass them between agents
R292 Confirm a credential works by one read-only call of the program that uses it
R294 Pass a credential to a program only through the environment or a file
R295 Pass a credential to a program only through the environment, a file or the secret manager's injection
R137 Secret Manager

Metadata

ID
265
Revision
2
Kind
domain
Status
active
Slug
credentials
Default
on
Original language
English en
Translations
Chinese zh

On this page

  • Relations
  • Metadata