summaryrefslogtreecommitdiff
path: root/secrets/test/README.md
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-11-18 14:02:09 +0000
committerIgor Soarez <igor@soarez.org>2026-11-18 14:02:09 +0000
commit8f818a64f2f0f3a833fc842d52a675358ec64c9c (patch)
treeeac13a48cada4595c9073d62060c1145189c6344 /secrets/test/README.md
parent6444d6a508cdfdcf52cc6c83bab1e29a7e2a2e10 (diff)
szecret: buckets beside the old store -- get/has/put/mv/rekey/list/check/enrol, admins from SZECRET_ADMINS_COMMAND; rotate retired (fleet hardening 12)
A bucket is a directory of secrets with one set of readers: its recipients file plus the admins, the full set recorded in .szecret by rekey. put refuses when the readers or admins drift from that set, or with no admins; a plain put of a new name goes to admin-only, one still in the old store is rewritten there. The old store keeps working throughout. link/claude.sh leaves out an MCP server whose secret is in a bucket this host doesn't read. Design: cloud-setup docs/proposal-secret-roles.md.
Diffstat (limited to 'secrets/test/README.md')
-rw-r--r--secrets/test/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/secrets/test/README.md b/secrets/test/README.md
index 49d70b2..7317d50 100644
--- a/secrets/test/README.md
+++ b/secrets/test/README.md
@@ -21,6 +21,7 @@ Unit tests for the szecret secret management system.
test/
├── common.sh # Shared utilities, setup/teardown, assertions
├── run.sh # Test runner entrypoint
+├── buckets.sh # Tests for buckets: get, has, put, mv, rekey, list, check, enrol
├── create-local.sh # Tests for create-local command
├── edge-cases.sh # Edge case tests (special chars, unicode, etc.)
├── ensure.sh # Tests for ensure command