Add armored example
This commit is contained in:
parent
e945c673b8
commit
8f6065756a
2 changed files with 11 additions and 0 deletions
7
example/armored-secret.age
Normal file
7
example/armored-secret.age
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFYzWG1FQSBpZkZW
|
||||||
|
aFpLNnJxc0VUMHRmZ2dZS0pjMGVENnR3OHd5K0RiT1RjRUhibFZBCnN5UG5vUjA3
|
||||||
|
SXpsNGtiVUw4T0tIVFo5Wkk5QS9NQlBndzVvektiQ0ozc0kKLS0tIGxyY1Q4dEZ1
|
||||||
|
VGZEanJyTFNta2JNRmpZb2FnK2JyS1hSVml1UGdMNWZKQXMKYla+wTXcRedyZoEb
|
||||||
|
LVWaSx49WoUTU0KBPJg9RArxaeC23GoCDzR/aM/1DvYU
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
|
@ -6,4 +6,8 @@ in {
|
||||||
"secret2.age".publicKeys = [user1];
|
"secret2.age".publicKeys = [user1];
|
||||||
"passwordfile-user1.age".publicKeys = [user1 system1];
|
"passwordfile-user1.age".publicKeys = [user1 system1];
|
||||||
"-leading-hyphen-filename.age".publicKeys = [user1 system1];
|
"-leading-hyphen-filename.age".publicKeys = [user1 system1];
|
||||||
|
"armored-secret.age" = {
|
||||||
|
publicKeys = [ user1 ];
|
||||||
|
armor = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue