mirror of https://github.com/ryantm/agenix.git
feat(derive-secret): restrict derived secret length
This commit is contained in:
parent
28b19e422b
commit
5e33715730
|
@ -174,7 +174,7 @@ with lib; let
|
|||
default = "A-Za-z0-9_";
|
||||
};
|
||||
length = mkOption {
|
||||
type = types.int;
|
||||
type = types.ints.between 1 1024;
|
||||
default = 32;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue