This repository has no description
Something went wrong. Try again.
Go 93%
Makefile 7%
Commits 18
chore: clean repo
Signed-off-by: A. Ottr <alex@otter.foo>
fix: streamline release process
Signed-off-by: A. Ottr <alex@otter.foo>
feat: extend init command, fallback to identities
Signed-off-by: A. Ottr <alex@otter.foo>
feat: add simple watcher, refactor repo/cache and logging
Signed-off-by: A. Ottr <alex@otter.foo>
chore: refactoring
Signed-off-by: A. Ottr <alex@otter.foo>
feat: add simple enc/dec with generic io wrapper
Signed-off-by: A. Ottr <alex@otter.foo>
feat: add logger and identity gen
Signed-off-by: A. Ottr <alex@otter.foo>
README.md
nox #
Getting Started #
Prerequisites #
- Go 1.18+
Installation #
go install github.com/aottr/nox/cmd/nox@latest
Usage #
Generate age key #
mkdir -p keys secrets
age-keygen -o keys/key.txt
Encrypt secrets #
age -r <recipient> -o secrets/prod.env.age secrets/prod.env
Configure #
Create a config.yaml file with the following contents:
interval: "10m"
age:
identity: "keys/key.txt"
recipients: # optional, when used to encrypt secrets
- "age1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
statePath: ".nox-state.json"
defaultRepo: git@github.com:ShorkBytes/nox-secrets.git
apps:
debug:
branch: main
files:
- path: debug/debug.age
output: ./secrets/.env
Run #
nox --help
How to #
Decrypt secret into custom file #
nox decrypt --app debug --dry-run > secrets.env
Contributing #
Contributions are welcome!
go fmt ./...