From bd8024ba397f70b00e6ab6c72f230d0205d8fe04 Mon Sep 17 00:00:00 2001 From: YuuGR1337 Date: Tue, 1 Sep 2026 08:52:31 +0700 Subject: [PATCH] docs: readme: document env ls / use / copy Closes #141 Signed-off-by: YuuGR1337 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0e8bb4b..2e8338c 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,15 @@ Opt out with `SOTTO_TELEMETRY=off` (or the cross-tool no request is ever made. `SOTTO_TELEMETRY_URL` redirects the ping (e.g. to aggregate a private fleet), and records idle for 12 months are purged from the hosted census. +### Environments + +```sh +sotto env ls # environments in this project; the active one is marked +sotto env use staging # switch the active environment +sotto env copy dev staging --confirm # promote keys (adds and updates; never deletes) +``` +Without `--confirm`, `copy` is a dry run showing what would change. + ## Security Sotto's model is zero-knowledge: plaintext secrets and usable decryption keys stay on client