acme: switch to OVH API
This commit is contained in:
parent
4357075394
commit
4f3e655072
|
@ -13,8 +13,6 @@
|
||||||
// attrs;
|
// attrs;
|
||||||
in
|
in
|
||||||
lib.mapAttrs toSecret {
|
lib.mapAttrs toSecret {
|
||||||
"gandi/api-key" = {};
|
|
||||||
|
|
||||||
"lohr/shared-secret" = {};
|
"lohr/shared-secret" = {};
|
||||||
|
|
||||||
"matrix-synapse/secret-config" = {
|
"matrix-synapse/secret-config" = {
|
||||||
|
@ -29,6 +27,8 @@
|
||||||
owner = "nextcloud";
|
owner = "nextcloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"ovh/credentials" = {};
|
||||||
|
|
||||||
"paperless/admin-password" = {};
|
"paperless/admin-password" = {};
|
||||||
"paperless/secret-key" = {};
|
"paperless/secret-key" = {};
|
||||||
|
|
||||||
|
|
7
modules/secrets/ovh/credentials.age
Normal file
7
modules/secrets/ovh/credentials.age
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 k2gHjw XED7gkKAp1ioBegA7ryqULRF1BORpW74esfIGp9zPE8
|
||||||
|
ANxnQN+tox9KYdZvNZFZvQxOymckldPQMhFnz6fSIBo
|
||||||
|
-> ssh-ed25519 pX8y2g 9wgPqL6GoOxad5AAUmDAYj0h/57AEM8VsQKq1pGTtjM
|
||||||
|
SxD++XJioZLpt6C8Xse5Nmz4wtL0Fb5NKWo5ijKpyv8
|
||||||
|
--- 3qOJnkY3Uc4fIex9mgz2+w+su5dS7K7Tmtk1hiqkn9M
|
||||||
|
ÁXª¨àeéˆaLQH2*ZÅTé¿ ‘®P;Ý(jCÌ€k‡viäµû<C2B5>ÿ’ħ¡à†kæ`™ô]mò<6D>ÿBñ,³±,ü÷?!¶{àŠ%eÙì(„Su¿-SŸD¢¾“=H#‡„¼Þq=ï<>Uùí;=OÍ<÷R¼ÇÎE±“<+&èdÂæ<18>>G+_oP¥Þ]ÿê¦RÄßL$Ö³\š°ü0ø¤N!þ"Áã&÷%Nž à<ËÃ,òv°1ÿ‘Ê‘Új1
|
|
@ -23,6 +23,8 @@ in {
|
||||||
|
|
||||||
"nextcloud/admin-pass.age".publicKeys = [alarsyo hades];
|
"nextcloud/admin-pass.age".publicKeys = [alarsyo hades];
|
||||||
|
|
||||||
|
"ovh/credentials.age".publicKeys = [alarsyo hades];
|
||||||
|
|
||||||
"paperless/admin-password.age".publicKeys = [alarsyo hades];
|
"paperless/admin-password.age".publicKeys = [alarsyo hades];
|
||||||
"paperless/secret-key.age".publicKeys = [alarsyo hades];
|
"paperless/secret-key.age".publicKeys = [alarsyo hades];
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,8 @@ in {
|
||||||
gandiKey = config.my.secrets.gandiKey;
|
gandiKey = config.my.secrets.gandiKey;
|
||||||
in {
|
in {
|
||||||
"${fqdn}" = {
|
"${fqdn}" = {
|
||||||
dnsProvider = "gandiv5";
|
dnsProvider = "ovh";
|
||||||
credentialsFile = config.age.secrets."gandi/api-key".path;
|
credentialsFile = config.age.secrets."ovh/credentials".path;
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue