Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Support event subscriptions in vault_policy_document data source #2380

Open
gg718 opened this issue Dec 12, 2024 · 2 comments

Comments

@gg718
Copy link
Contributor

gg718 commented Dec 12, 2024

Description

For Enterprise users, it is possible to configure events/subscriptions via policies.

Would it be possible to add support for this?

Affected Resource(s) and/or Data Source(s)

vault_policy_document data source

Potential Terraform Configuration

data "vault_policy_document" "example" {
  rule {
    path                  = "secret/*"
    capabilities          = ["list", "subscribe"]
    subscribe_event_types = ["*"]
  }
}

References

https://developer.hashicorp.com/vault/docs/concepts/events#policies

@fairclothjm
Copy link
Contributor

Closed by #2293

@gg718
Copy link
Contributor Author

gg718 commented Jan 2, 2025

@fairclothjm #2293 does not address this request, e.g. subscribe_event_types is not supported by vault_policy_document.

@fairclothjm fairclothjm reopened this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants