» vault_egp_policy
Provides a resource to manage Endpoint Governing Policy (EGP) via Sentinel.
Note this feature is available only with Vault Enterprise.
» Example Usage
resource "vault_egp_policy" "allow-all" {
name = "allow-all"
paths = ["*"]
enforcement_level = "soft-mandatory"
policy = <<EOT
main = rule {
true
}
EOT
}
» Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the policy -
paths
- (Required) List of paths to which the policy will be applied to -
enforcement_level
- (Required) Enforcement level of Sentinel policy. Can be eitheradvisory
orsoft-mandatory
orhard-mandatory
-
policy
- (Required) String containing a Sentinel policy
» Attributes Reference
No additional attributes are exported by this resource.