Update docs to include example of armored output
This commit is contained in:
parent
92af581e8b
commit
01217f8b39
2 changed files with 8 additions and 0 deletions
|
|
@ -332,6 +332,10 @@ e.g. inside your `flake.nix` file:
|
|||
{
|
||||
"secret1.age".publicKeys = [ user1 system1 ];
|
||||
"secret2.age".publicKeys = users ++ systems;
|
||||
"armored-secret.age" = {
|
||||
publicKeys = [ user1 ];
|
||||
armor = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
These are the users and systems that will be able to decrypt the `.age` files later with their corresponding private keys.
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
{
|
||||
"secret1.age".publicKeys = [ user1 system1 ];
|
||||
"secret2.age".publicKeys = users ++ systems;
|
||||
"armored-secret.age" = {
|
||||
publicKeys = [ user1 ];
|
||||
armor = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
4. Edit secret files (these instructions assume your SSH private key is in ~/.ssh/):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue