authelia: add info on secrets length

This commit is contained in:
ibizaman 2026-03-14 22:53:51 +01:00 committed by Pierre Penninckx
parent b3c3f85191
commit 0c5116ee21

View file

@ -114,7 +114,7 @@ in
}; };
}; };
storageEncryptionKey = lib.mkOption { storageEncryptionKey = lib.mkOption {
description = "Storage encryption key."; description = "Storage encryption key. Must be >= 20 characters.";
type = lib.types.submodule { type = lib.types.submodule {
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
@ -124,7 +124,7 @@ in
}; };
}; };
identityProvidersOIDCHMACSecret = lib.mkOption { identityProvidersOIDCHMACSecret = lib.mkOption {
description = "Identity provider OIDC HMAC secret."; description = "Identity provider OIDC HMAC secret. Must be >= 40 characters.";
type = lib.types.submodule { type = lib.types.submodule {
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";