-
Notifications
You must be signed in to change notification settings - Fork 1
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
[terraform-ibm-secrets-manager] Scope KMS policy to the exact KMS key #223
Comments
cc : @SarikaSinha |
As per the document authorization policy gets created at Instance level. |
I think there is some confusion here. The auth policy has to be created before the instance is created. Therefor the auth policy cannot be scoped the secrets manager instance. However it can be scoped to the KMS key. Re-opening this issue to discuss further |
It looks like when scoped to exact key, it fails with:
In my opinion this is a bug on the service so I have created an enhancement request with the Secrets Manager service to support this so its consistent with other services. |
Secrets Manager made updates to support this, so we should no longer be blocked |
The policy here and here can be updated to scope it to the exact KMS key. For an example of the syntax, see terraform-ibm-modules/terraform-ibm-cos#764
The text was updated successfully, but these errors were encountered: