vault_policyNivis Nix constructor for the vault_policy 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,
policy,
allow_overwrite ? null,
id ? null,
cfg_name ? null,
namespace ? null,
overrides ? {}
}Required arguments
policy
Optional arguments
allow_overwrite(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)namespace(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
vault_policy {
name = "policy";
policy = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.