Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
feral-dot-io committed Jul 19, 2024
1 parent a995c0d commit 58c0d2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ e.g. inside your `flake.nix` file:
* from GitHub like https://github.com/ryantm.keys.
4. Create a secret file:
```ShellSession
$ agenix -e secret1.age
$ agenix -c secret1.age
```
It will open a temporary file in the app configured in your $EDITOR environment variable.
When you save that file its content will be encrypted with all the public keys mentioned in the `secrets.nix` file.
Expand Down Expand Up @@ -548,11 +548,13 @@ Overriding `age.secretsMountPoint` example:
```
agenix - edit and rekey age secret files
agenix -c FILE
agenix -e FILE [-i PRIVATE_KEY]
agenix -r [-i PRIVATE_KEY]
options:
-h, --help show help
-c, --create FILE create or replace FILE using $EDITOR
-e, --edit FILE edits FILE using $EDITOR
-r, --rekey re-encrypts all secrets with specified recipients
-d, --decrypt FILE decrypts FILE to STDOUT
Expand Down

0 comments on commit 58c0d2f

Please sign in to comment.