Configuring an IBM Cloud connection

For Managed services to access your IBM Cloud environment, specify the IBM Cloud API key to deploy IBM Cloud services, and also the IBM Cloud User and IBM Cloud Classic Infrastructure API Key to deploy IBM Cloud classic infrastructure like compute instances.

  • IBM Cloud API Key - Enter the IBM Cloud API key that is associated with your user identity.
  • IBM Cloud Classic Infrastructure User Name and IBM Cloud Classic Infrastructure API Key fields - Enter the IBM Cloud user name and the IBM Cloud classic infrastructure API key values respectively.

To retrieve the IBM Cloud Classic Infrastructure User Name:

  1. Log in to the IBM Cloud Portal.
  2. Click Manage > Access (IAM) > Users.
  3. Select the user from the list. The User details tab of the Manage user page displays.
  4. The User name value, a combination of a number_emailID is listed under the VPN Password section.

To retrieve the IBM Cloud Classic Infrastructure API Key values:

  1. Log in to the IBM Cloud Portal.
  2. Click Manage > Access (IAM) > API keys > In View dropdown, select Classic infrastructure API keys >.
  3. In the returned list, select the additional action icon (vertical ellipses) > Details > Copy the API key.

To create the IBM Cloud API Key values:

  1. Log in to the IBM Cloud Portal.
  2. Click Manage > Access (IAM) > API keys > In View dropdown, select My IBM Cloud API Keys >.
  3. Click Create an IBM Cloud API key to create a new one.

For more details, see IBM Cloud IAM External link icon.

For information about the available Terraform resources, see IBM Cloud Provider External link icon.

Note: If you created templates with an old version that uses terraform-provider-ibm older than v0.4, be aware that the resource names for the IBM Cloud provider were changed. For more information, see Migrating to v0.4 External link icon.