vault_database_secret_backend_roleNivis Nix constructor for the vault_database_secret_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,
backend,
creation_statements,
db_name,
credential_config ? null,
credential_type ? null,
default_ttl ? null,
id ? null,
max_ttl ? null,
cfg_name ? null,
namespace ? null,
renew_statements ? null,
revocation_statements ? null,
rollback_statements ? null,
overrides ? {}
}Required arguments
backendcreation_statementsdb_name
Optional arguments
credential_config(defaults tonull)credential_type(defaults tonull)default_ttl(defaults tonull)id(defaults tonull)max_ttl(defaults tonull)cfg_name(defaults tonull)namespace(defaults tonull)renew_statements(defaults tonull)revocation_statements(defaults tonull)rollback_statements(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
vault_database_secret_backend_role {
name = "database_secret_backend_role";
backend = …; # required
creation_statements = …; # required
db_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.