mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 02:58:30 +03:00
Update README
This commit is contained in:
parent
a995c0d606
commit
58c0d2f3e7
1 changed files with 3 additions and 1 deletions
|
@ -280,7 +280,7 @@ e.g. inside your `flake.nix` file:
|
||||||
* from GitHub like https://github.com/ryantm.keys.
|
* from GitHub like https://github.com/ryantm.keys.
|
||||||
4. Create a secret file:
|
4. Create a secret file:
|
||||||
```ShellSession
|
```ShellSession
|
||||||
$ agenix -e secret1.age
|
$ agenix -c secret1.age
|
||||||
```
|
```
|
||||||
It will open a temporary file in the app configured in your $EDITOR environment variable.
|
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.
|
When you save that file its content will be encrypted with all the public keys mentioned in the `secrets.nix` file.
|
||||||
|
@ -548,11 +548,13 @@ Overriding `age.secretsMountPoint` example:
|
||||||
```
|
```
|
||||||
agenix - edit and rekey age secret files
|
agenix - edit and rekey age secret files
|
||||||
|
|
||||||
|
agenix -c FILE
|
||||||
agenix -e FILE [-i PRIVATE_KEY]
|
agenix -e FILE [-i PRIVATE_KEY]
|
||||||
agenix -r [-i PRIVATE_KEY]
|
agenix -r [-i PRIVATE_KEY]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show help
|
-h, --help show help
|
||||||
|
-c, --create FILE create or replace FILE using $EDITOR
|
||||||
-e, --edit FILE edits FILE using $EDITOR
|
-e, --edit FILE edits FILE using $EDITOR
|
||||||
-r, --rekey re-encrypts all secrets with specified recipients
|
-r, --rekey re-encrypts all secrets with specified recipients
|
||||||
-d, --decrypt FILE decrypts FILE to STDOUT
|
-d, --decrypt FILE decrypts FILE to STDOUT
|
||||||
|
|
Loading…
Reference in a new issue