- Go 1.18+
go install github.com/aottr/nox/cmd/nox@latestmkdir -p keys secretsage-keygen -o keys/key.txtage -r <recipient> -o secrets/prod.env.age secrets/prod.envCreate 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: [email protected]:ShorkBytes/nox-secrets.git
apps:
debug:
branch: main
files:
- path: debug/debug.age
output: ./secrets/.envnox --helpnox decrypt --app debug --dry-run > secrets.envContributions are welcome!
go fmt ./...