summaryrefslogtreecommitdiff
path: root/secrets/README.md
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-11-19 22:31:31 +0000
committerIgor Soarez <igor@soarez.org>2026-11-19 22:31:31 +0000
commitdcbd341a04bbbf0ac7d720a3a3bf882778983bfe (patch)
treed9abbc2ddfae873f01de96dd0f5ab7501c607b5f /secrets/README.md
parentf82380fcf0d7901635c27871162fdfc3dff2c555 (diff)
szecret mv --phone: an admin elsewhere rewraps the file key for a secret this machine can't read
The move goes to SZECRET_PHONE_COMMAND with a snapshot of the file; the new file is that snapshot's payload under the header that comes back, written only if the file is unchanged, and opened first where this machine is a new reader.
Diffstat (limited to 'secrets/README.md')
-rw-r--r--secrets/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/secrets/README.md b/secrets/README.md
index d4860eb..a6ae932 100644
--- a/secrets/README.md
+++ b/secrets/README.md
@@ -24,6 +24,7 @@ szecret list
| `put <bucket>/<name>` | Encrypt stdin to the bucket's readers and the admins |
| `put <name>` | The same, in `admin-only` (a name still in the old store is rewritten there) |
| `mv <name> <bucket>` | Move a secret to another bucket; never copies |
+| `mv --phone <name> <bucket>` | The same, for a secret this machine can't read: an admin elsewhere (`SZECRET_PHONE_COMMAND`) rewraps its file key |
| `rekey <bucket>` | Re-encrypt a bucket to its readers now; adding a reader needs a yes or `--add-ok` |
| `list` | The secrets this machine reads (`--names`, `--all`) |
| `check [--all]` | Check that the buckets this machine reads (or every bucket) are whole |