rancher2_auth_config_generic_oidcNivis Nix constructor for the rancher2_auth_config_generic_oidc resource (provider rancher2). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
client_id,
client_secret,
issuer,
rancher_url,
access_mode ? null,
allowed_principal_ids ? null,
annotations ? null,
auth_endpoint ? null,
certificate ? null,
email_claim ? null,
enabled ? null,
end_session_endpoint ? null,
group_search_enabled ? null,
groups_field ? null,
id ? null,
jwks_url ? null,
labels ? null,
logout_all_enabled ? null,
logout_all_forced ? null,
name_claim ? null,
pkce_method ? null,
private_key ? null,
scopes ? null,
token_endpoint ? null,
userinfo_endpoint ? null,
overrides ? {}
}Required arguments
client_idclient_secretissuerrancher_url
Optional arguments
access_mode(defaults tonull)allowed_principal_ids(defaults tonull)annotations(defaults tonull)auth_endpoint(defaults tonull)certificate(defaults tonull)email_claim(defaults tonull)enabled(defaults tonull)end_session_endpoint(defaults tonull)group_search_enabled(defaults tonull)groups_field(defaults tonull)id(defaults tonull)jwks_url(defaults tonull)labels(defaults tonull)logout_all_enabled(defaults tonull)logout_all_forced(defaults tonull)name_claim(defaults tonull)pkce_method(defaults tonull)private_key(defaults tonull)scopes(defaults tonull)token_endpoint(defaults tonull)userinfo_endpoint(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
nametype
Example
rancher2_auth_config_generic_oidc {
name = "auth_config_generic_oidc";
client_id = …; # required
client_secret = …; # required
issuer = …; # required
rancher_url = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.