references/features/secrets.md
references/features/secrets.mdBrowse 27 files
275 tokens
1,102 bytes
Token encoding: o200k_base
Snapshot 8beb6cd
← Back to SKILL.md
Secrets
User, session, and package secret rows. Host approval and package grants.
How to get there
/account/secrets → new /account/secrets/new → detail under
/account/secrets/{user|session|package}/…. Package grant lane:
/account/secrets/approve. Host approval: /connect/secrets.
Drive it
node tools/control-kody.ts preview -- \
--request 'GET /account/secrets.json' \
--check /account/secrets
GET the page body after a claimed fix. A “try https://kody.codes/account/secrets” note with no body is not proof.
APIs
GET|POST /account/secrets.json
Gotchas
- Never paste secret values into chat, PRs, or execute params.
- Preview seed starts with zero secrets.
/connect/secretsrejects hosts that are not hostname-shaped (truncated tokens, paths, empty values). Those must not appear as a successful Allow target, and they must not land inallowedHosts.- Package grants on user secrets are website-only (
/account/secrets/approveor the secret editor).secretLockreturns an approval URL; it does not addallowed_packages.