Parses literal exports from ~/.zshrc (never sourced), writes them to env/shell/<group> via the bao CLI with stdin transport, verifies by SHA-256 digest, then creates a read-only policy/token and generates the EnvBao config. Values are never printed, logged or placed in argv. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
616 B
616 B
Changelog
All notable changes are documented here. This project follows Semantic Versioning.
[Unreleased]
Added
scripts/migrate_zshrc.py: one-off migration of zshrc exports into OpenBao KV (env/shell/<group>), with digest verification and generation of the EnvBao config and a read-only token.- Initial implementation: config loading, strict permission policy, KV v1/v2 engine with
auto-detection, safe shell rendering (bash/zsh/sh/fish),
--checkand--init, audit logging. - Gitea pipelines for tests and tag-driven releases (linux-amd64, linux-arm64, macos-arm64).