The available options can be found in the example configuration.
It's also possible to refer to environment variables (defined in services.dex.environmentFile) using the syntax $VARIABLE_NAME
.
Declarations
Type
YAML value
Default
{ }
Example
{
# External url
issuer = "http://127.0.0.1:5556/dex";
storage = {
type = "postgres";
config.host = "/var/run/postgres";
};
web = {
http = "127.0.0.1:5556";
};
enablePasswordDB = true;
staticClients = [
{
id = "oidcclient";
name = "Client";
redirectURIs = [ "https://example.com/callback" ];
secretFile = "/etc/dex/oidcclient"; # The content of `secretFile` will be written into to the config as `secret`.
}
];
}