vault_jwt_auth_backend_roleNivis Nix constructor for the vault_jwt_auth_backend_role resource (provider vault). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
role_name,
user_claim,
alias_metadata ? null,
allowed_redirect_uris ? null,
backend ? null,
bound_audiences ? null,
bound_claims ? null,
bound_claims_type ? null,
bound_subject ? null,
claim_mappings ? null,
clock_skew_leeway ? null,
disable_bound_claims_parsing ? null,
expiration_leeway ? null,
groups_claim ? null,
id ? null,
max_age ? null,
namespace ? null,
not_before_leeway ? null,
oidc_scopes ? null,
role_type ? null,
token_bound_cidrs ? null,
token_explicit_max_ttl ? null,
token_max_ttl ? null,
token_no_default_policy ? null,
token_num_uses ? null,
token_period ? null,
token_policies ? null,
token_ttl ? null,
token_type ? null,
user_claim_json_pointer ? null,
verbose_oidc_logging ? null,
overrides ? {}
}Required arguments
role_nameuser_claim
Optional arguments
alias_metadata(defaults tonull)allowed_redirect_uris(defaults tonull)backend(defaults tonull)bound_audiences(defaults tonull)bound_claims(defaults tonull)bound_claims_type(defaults tonull)bound_subject(defaults tonull)claim_mappings(defaults tonull)clock_skew_leeway(defaults tonull)disable_bound_claims_parsing(defaults tonull)expiration_leeway(defaults tonull)groups_claim(defaults tonull)id(defaults tonull)max_age(defaults tonull)namespace(defaults tonull)not_before_leeway(defaults tonull)oidc_scopes(defaults tonull)role_type(defaults tonull)token_bound_cidrs(defaults tonull)token_explicit_max_ttl(defaults tonull)token_max_ttl(defaults tonull)token_no_default_policy(defaults tonull)token_num_uses(defaults tonull)token_period(defaults tonull)token_policies(defaults tonull)token_ttl(defaults tonull)token_type(defaults tonull)user_claim_json_pointer(defaults tonull)verbose_oidc_logging(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
vault_jwt_auth_backend_role {
name = "jwt_auth_backend_role";
role_name = …; # required
user_claim = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.