doc: notes on SOPS secrets
This commit is contained in:
parent
54c34faa64
commit
1df1f4ed07
1 changed files with 8 additions and 0 deletions
|
|
@ -4,12 +4,20 @@
|
|||
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
|
||||
# NOTE: This thing gave me a huge headache to setup.
|
||||
# If you are ME from future, don't forget to place
|
||||
# your age keys here!
|
||||
age.keyFile = "/etc/sops/age/keys.txt";
|
||||
|
||||
# Define secrets to be used.
|
||||
secrets = {
|
||||
# Literally the user password.
|
||||
"user-password" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
# SSH private key.
|
||||
"ssh-private-key" = {
|
||||
path = "/run/secrets/ssh-private-key";
|
||||
owner = "zoty";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue