Concepts
Versions, diff and rollback
Every push is a version.
Concepts 1 min read
A version belongs to one environment and records its author, message and the keys that changed. Secrets that did not change are carried forward by reference, so a one-key change never re-encrypts two hundred keys.
Kinds of versions
push | Created by storeenv push. |
web-edit | Saved from the browser editor. |
rollback | A new version equal to an older one. |
rekey | New keys for secrets after someone lost access. The values are the same. |
Conflicts
If the remote moved since you last synced, push stops with SE_REMOTE_AHEAD. Pull first, or use --force to add your version on top. Nothing is ever deleted from history.
Local commits
storeenv commit saves an encrypted snapshot on this machine, even offline. push uploads local commits in order, each as its own version; storeenv restore writes one back before it is pushed.