Workflows
Common used workflow with vaultix.
Add new secret
1. Run edit:
nix run .#vaultix.app.x86_64-linux.edit -- ./where/new-to-add.age
2. Add a secret to nixos module:
secrets = {
#...
new-to-add.file = ./where/new-to-add.age;
};
3. Run renc:
nix run .#vaultix.app.x86_64-linux.renc
4. Add new produced stuff to git.
Modify existed secret
nix run .#vaultix.app.x86_64-linux.edit -- ./where/to-edit.age
nix run .#vaultix.app.x86_64-linux.renc
Then add changes to git.
Remove secret
secrets = {
#...
- new-to-add.file = ./where/new-to-add.age;
};
rm ./where/new-to-add.age
nix run .#vaultix.app.x86_64-linux.renc
Then add changes to git.