rancher2_custom_user_tokenNivis Nix constructor for the rancher2_custom_user_token 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,
password,
username,
annotations ? null,
cluster_id ? null,
description ? null,
id ? null,
labels ? null,
renew ? null,
ttl ? null,
timeouts ? null,
overrides ? {}
}Required arguments
passwordusername
Optional arguments
annotations(defaults tonull)cluster_id(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)renew(defaults tonull)ttl(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
access_keyenabledexpirednamesecret_keytemp_tokentemp_token_idtokenuser_id
Example
rancher2_custom_user_token {
name = "custom_user_token";
password = …; # required
username = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.