Providing cloud credentials in a blueprint

By default, when you provision an environment from a blueprint, the environment is created by using the cloud account information of its cloud project. However, when you create a blueprint for most kinds of clouds, you can specify different user credentials.

Before you begin

Create a blueprint for your cloud project. See Creating and editing blueprints with the blueprint designer.

About this task

You store credentials for each cloud project. If you modify the properties in a blueprint's source code, you can provide different credentials that are used to create individual environments.
Note: You cannot specify different user credentials for OpenStack clouds.

Procedure

  1. Obtain the credentials for the cloud account to use with your environment.
  2. To edit a blueprint's source code, click Blueprints, select your blueprint's name, and click Source.
  3. In the parameters section of the blueprint source code, enter the appropriate properties and credentials for your cloud type:
    • For Amazon Elastic Compute Cloud, enter these lines:
      IBM::AWS::Access_ID:
        type: string
        description:AWS ID
        default: 'your_id'
      IBM::AWS::Secret_Key:
        type:string
        description: AWS key
      default: 'your_secret_key'
    • For Softlayer, enter these lines:
      IBM::Softlayer::User:
        type: string
        description: Softlayer ID
        default: 'your_id'
      IBM::Softlayer::API_Key:
        type: string
        description: Softlayer key
        default: 'your_api_key'
    • For VMware, enter these lines:
        IBM::VMWare::User:
        type: string
        description: VMware User
        default: 'your_user_name'
      IBM::VMWare::Password:
        type: string
        description: VMware password
        default: 'your_password'
  4. Click Save.

What to do next

Provision an environment by using your blueprint. See Provisioning cloud environments.

Feedback