2022-10-16 06:57:21 +02:00
|
|
|
{ KeycloakCliConfig
|
|
|
|
}:
|
|
|
|
{ name
|
|
|
|
, configDir ? "/etc/keycloak-cli-config"
|
|
|
|
, configFile ? "config.json"
|
2022-10-18 05:01:36 +02:00
|
|
|
, realm
|
|
|
|
, domain
|
|
|
|
, roles ? {}
|
|
|
|
, clients ? {}
|
|
|
|
, users ? {}
|
2022-10-16 06:57:21 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
inherit name configDir configFile;
|
|
|
|
|
|
|
|
pkg = KeycloakCliConfig {
|
|
|
|
inherit configDir configFile;
|
|
|
|
|
2022-10-18 05:01:36 +02:00
|
|
|
inherit realm domain roles clients users;
|
2022-10-16 06:57:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
type = "fileset";
|
|
|
|
}
|
|
|
|
|