vault_sys_config_cors

Nivis Nix constructor for the vault_sys_config_cors 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, allowed_origins, allowed_headers ? null, overrides ? {} }
Required arguments
  • allowed_origins
Optional arguments
  • allowed_headers (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • enabled
  • id
Example
vault_sys_config_cors {
  name = "sys_config_cors";
  allowed_origins = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.