random_passwordNivis Nix constructor for the random_password resource (provider random). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
length,
keepers ? null,
lower ? null,
min_lower ? null,
min_numeric ? null,
min_special ? null,
min_upper ? null,
number ? null,
numeric ? null,
override_special ? null,
special ? null,
upper ? null,
overrides ? {}
}Required arguments
length
Optional arguments
keepers(defaults tonull)lower(defaults tonull)min_lower(defaults tonull)min_numeric(defaults tonull)min_special(defaults tonull)min_upper(defaults tonull)number(defaults tonull)numeric(defaults tonull)override_special(defaults tonull)special(defaults tonull)upper(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
bcrypt_hashidresult
Example
random_password {
name = "password";
length = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.