mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 19:18:28 +03:00
Expand explanation that identityPaths should be strings
This commit is contained in:
parent
833f87c8ff
commit
37dcc5f5e7
1 changed files with 8 additions and 7 deletions
15
README.md
15
README.md
|
@ -437,13 +437,14 @@ Overriding `age.ageBin` example:
|
||||||
|
|
||||||
#### `age.identityPaths`
|
#### `age.identityPaths`
|
||||||
|
|
||||||
`age.identityPaths` is a list of paths to recipient keys to try to use
|
`age.identityPaths` is a list of paths to recipient keys to try to use to
|
||||||
to decrypt the secrets. All of the file paths must be present, but
|
decrypt the secrets. By default, it is the `rsa` and `ed25519` keys in
|
||||||
only one needs to be able to decrypt the secret. Usually, you don't
|
`config.services.openssh.hostKeys`, and on NixOS you usually don't need to
|
||||||
need to change this. By default, this is the `rsa` and `ed25519` keys
|
change this. The list items should be strings (`"/path/to/id_rsa"`), not
|
||||||
in `config.services.openssh.hostKeys`.
|
nix paths (`../path/to/id_rsa`), as the latter would copy your private key to
|
||||||
|
the nix store, which is the exact situation `agenix` is designed to avoid. At
|
||||||
Overriding `age.identityPaths` example:
|
least one of the file paths must be present at runtime and able to decrypt the
|
||||||
|
secret in question. Overriding `age.identityPaths` example:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue