mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-27 05:23:56 +02:00
docs(agents): allow scoped secret authentication
This commit is contained in:
+7
-4
@@ -37,10 +37,13 @@ If rules conflict, follow the higher-priority source and state the conflict brie
|
|||||||
|
|
||||||
### Secret Access
|
### Secret Access
|
||||||
|
|
||||||
- Commands or API calls that retrieve secret values or payloads are forbidden, even with explicit
|
- When explicitly requested, an authentication client or command MAY consume a user-designated
|
||||||
user authorization and regardless of how their output is processed.
|
secret source solely to authenticate to the specified service (e.g. an API, `redis-cli`, `psql`,
|
||||||
- Metadata and key names are allowed only through commands verified not to return values, such as
|
or `pgcli`).
|
||||||
`kubectl describe secret`.
|
- Secrets MUST remain opaque to the agent and must not be exposed in arguments, output, or logs;
|
||||||
|
copied, cached, or persisted; or sent anywhere except the intended authentication target.
|
||||||
|
- All other secret-value access is forbidden. Metadata and identifiers MAY be queried only with
|
||||||
|
operations verified not to reveal secret values, such as `kubectl describe secret`.
|
||||||
|
|
||||||
## 4) Scope Discipline
|
## 4) Scope Discipline
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user