(untested) http basic auth for outboard secrets

This commit is contained in:
Daniel Barlow
2024-08-28 20:53:59 +01:00
parent b56f121e04
commit fe7b092075
3 changed files with 17 additions and 1 deletions

View File

@@ -26,6 +26,15 @@ in {
description = "source url";
type = types.strMatching "https?://.*";
};
username = mkOption {
description = "username for HTTP basic auth";
type = types.nullOr types.str;
};
password = mkOption {
description = "password for HTTP basic auth";
type = types.nullOr types.str;
};
name = mkOption {
description = "service name";
type = types.str;