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 = {
|
sops = {
|
||||||
defaultSopsFile = ../secrets/secrets.yaml;
|
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";
|
age.keyFile = "/etc/sops/age/keys.txt";
|
||||||
|
|
||||||
|
# Define secrets to be used.
|
||||||
secrets = {
|
secrets = {
|
||||||
|
# Literally the user password.
|
||||||
"user-password" = {
|
"user-password" = {
|
||||||
neededForUsers = true;
|
neededForUsers = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# SSH private key.
|
||||||
"ssh-private-key" = {
|
"ssh-private-key" = {
|
||||||
path = "/run/secrets/ssh-private-key";
|
path = "/run/secrets/ssh-private-key";
|
||||||
owner = "zoty";
|
owner = "zoty";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue