vault_rgp_policy

Provides a resource to manage Role Governing Policy (RGP) via Sentinel.

Note this feature is available only with Vault Enterprise.

Example Usage

resource "vault_rgp_policy" "allow-all" {
  name              = "allow-all"
  enforcement_level = "soft-mandatory"

  policy = <<EOT
main = rule {
  true
}
EOT
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.