mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-08 21:07:45 +00:00
shell: fish functions -> ~/.local/bin executables + bash/zsh ports; manage ~/.agents
- 16 cross-shell utilities converted to sh/bash chezmoi executables: ai c2p cp-appid extract_agents fab gdc gh-sonr-org-migrate ghg-clone ghn gho git-summary launch_omp_livediff_overlay lc-elir mdcp mdp pj (ghg-clone not named ghg: unrelated cargo binary owns that name) - cwd/history helpers stay per-shell: yy c cd clip-last + ghg/ghn/gho cd-wrappers in bash/functions/ and zsh/functions/, loaded by rc files - fish keeps only shell-state functions; converted ones now hit PATH - cp-appid ignore gating moved to .local/bin path - dot_agents/skills: 82 skills materialized from dotstate storage so dot_claude skill symlinks resolve on fresh bootstrap; dotstate profile/symlinks.json released .agents/skills .bashrc .zshrc
This commit is contained in:
1 parent
6776366ce6
commit
6406208b35
637 files changed
+100297
-497
No files matched your search
@@ -0,0 +1,74 @@
|
||||
# Cloudflare Secrets Store
|
||||
|
||||
Account-level encrypted secret management for Workers and AI Gateway.
|
||||
|
||||
## Overview
|
||||
|
||||
**Secrets Store**: Centralized, account-level secrets, reusable across Workers
|
||||
**Worker Secrets**: Per-Worker secrets (`wrangler secret put`)
|
||||
|
||||
### Architecture
|
||||
|
||||
- **Store**: Container (1/account in beta)
|
||||
- **Secret**: String ≤1024 bytes
|
||||
- **Scopes**: Permission boundaries controlling access
|
||||
- `workers`: For Workers runtime access
|
||||
- `ai-gateway`: For AI Gateway access
|
||||
- Secrets must have correct scope for binding to work
|
||||
- **Bindings**: Connect secrets via `env` object
|
||||
|
||||
**Regional Availability**: Global except China Network (unavailable)
|
||||
|
||||
### Access Control
|
||||
|
||||
- **Super Admin**: Full access
|
||||
- **Admin**: Create/edit/delete secrets, view metadata
|
||||
- **Deployer**: View metadata + bindings
|
||||
- **Reporter**: View metadata only
|
||||
|
||||
API Token permissions: `Account Secrets Store Edit/Read`
|
||||
|
||||
### Limits (Beta)
|
||||
|
||||
- 100 secrets/account
|
||||
- 1 store/account
|
||||
- 1024 bytes max/secret
|
||||
- Production secrets count toward limit
|
||||
|
||||
## When to Use
|
||||
|
||||
**Use Secrets Store when:**
|
||||
- Multiple Workers share same credential
|
||||
- Centralized management needed
|
||||
- Compliance requires audit trail
|
||||
- Team collaboration on secrets
|
||||
|
||||
**Use Worker Secrets when:**
|
||||
- Secret unique to one Worker
|
||||
- Simple single-Worker project
|
||||
- No cross-Worker sharing needed
|
||||
|
||||
## In This Reference
|
||||
|
||||
### Reading Order by Task
|
||||
|
||||
| Task | Start Here | Then Read |
|
||||
|------|------------|-----------|
|
||||
| Quick overview | README.md | - |
|
||||
| First-time setup | README.md → configuration.md | api.md |
|
||||
| Add secret to Worker | configuration.md | api.md |
|
||||
| Implement access pattern | api.md | patterns.md |
|
||||
| Debug errors | gotchas.md | api.md |
|
||||
| Secret rotation | patterns.md | configuration.md |
|
||||
| Best practices | gotchas.md | patterns.md |
|
||||
|
||||
### Files
|
||||
|
||||
- [configuration.md](./configuration.md) - Wrangler commands, binding config
|
||||
- [api.md](./api.md) - Binding API, get/put/delete operations
|
||||
- [patterns.md](./patterns.md) - Rotation, encryption, access control
|
||||
- [gotchas.md](./gotchas.md) - Security issues, limits, best practices
|
||||
|
||||
## See Also
|
||||
- [workers](../workers/) - Worker bindings integration
|
||||
- [wrangler](../wrangler/) - CLI secret management commands
|
||||
Reference in new issue
Block a user