You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
provider"ibm" {
ibmcloud_api_key="XXXXXXXXXX"region="us-south"
}
module"key_protect_module" {
source="terraform-ibm-modules/key-protect/ibm"version="X.X.X"# Replace "X.X.X" with a release version to lock into a specific releasekey_protect_name="my-key-protect-instance"resource_group_id="xxXXxxXXxXxXXXXxxXxxxXXXXxXXXXX"region="us-south"
}
Required IAM access policies
Account Management
Resource Group service
Viewer platform access
IAM Services
Key Protect service
Editor platform access
Manager platform access (required to enable metrics)
To attach access management tags to resources in this module, you need the following permissions.
If set to true, Key Protect enables a dual authorization policy on the instance. Note: Once the dual authorization policy is set on the instance, it cannot be reverted. An instance with dual authorization policy enabled cannot be destroyed using Terraform.
If set to true, Key Protect enables metrics on the Key Protect instance. In order to view metrics, you will need a Monitoring (Sysdig) instance that is located in the same region as the Key Protect instance. Once you provision the Monitoring instance, you will need to enable platform metrics.
Plan for the Key Protect instance. Valid plans are 'tiered-pricing' and 'cross-region-resiliency', for more information on these plans see Key Protect pricing plan.