mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-12 16:00:25 -04:00
588 B
588 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| vault | Vault: vault_policy resource | docs-vault-resource-policy | Writes arbitrary policies for Vault |
vault_policy
Example Usage
resource "vault_policy" "example" {
name = "dev-team"
policy = <<EOT
path "secret/my_app" {
policy = "write"
}
EOT
}
Argument Reference
The following arguments are supported:
-
name- (Required) The name of the policy -
policy- (Required) String containing a Vault policy
Attributes Reference
No additional attributes are exported by this resource.