Prerequisites for onboarding IBM Cloud
Before you begin onboarding IBM Cloud, review the required permissions, tools, and credentials.
Before you begin onboarding IBM Cloud, ensure that you meet the following prerequisites.
Permissions
You need permissions in both Cortex XSIAM and IBM Cloud.
Cortex XSIAM: You must have a Cortex XSIAM role with Data Sources - View & Edit permissions to add and configure cloud instances. This permission is included in the following built-in roles: Instance Administrator, Security Admin, and IT Admin.
IBM Cloud: You must be able to create service IDs, API keys for service IDs, custom roles, and access policies in the IBM Cloud account, and attach tags to service IDs. The user who runs the Terraform template typically needs the Administrator role on all account management services and all IAM-enabled services in the account. IBM Cloud lets you assign access only for roles you hold yourself, so the template can grant the service ID its Viewer, Reader, and custom roles only if you hold at least those roles.
To attach tags to the service ID, your IBM Cloud API key also needs the global-search-tagging.tag.attach-user-tag permission. The Administrator and Editor platform roles include this permission.
IBM Cloud administrator API key
Terraform authenticates to IBM Cloud with an API key that you create for your own IBM Cloud user. Create the key before you begin. For instructions, see Managing user API keys in the IBM Cloud documentation.
You use this administrator API key only to run the Terraform template. Cortex XSIAM never receives or stores it. It's a different key from the service ID API key that the template creates for Cortex XSIAM. For details, see IBM Cloud security model and authentication.
Tools
Install the following tools on the machine where you run the Terraform template:
Terraform version 1.4 or later. You can download Terraform from the Terraform website.
Access to the Terraform Registry, so that
terraform initcan download the IBM Cloud Terraform provider (IBM-Cloud/ibm) version 2.4.0 or later.
Additional prerequisites
Before you begin onboarding IBM Cloud, ensure that:
The IBM Cloud administrator API key that you use to run Terraform belongs to the account you want to onboard. Terraform creates the Cortex XSIAM resources in the account of this API key.
You have a secure location to store the Terraform files and the Terraform state file for each account you onboard. You need them later to rotate the API key or to offboard the account.
Last updated
Was this helpful?
