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.
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
- Obtain the credentials for the cloud account to use with your environment.
- To edit a blueprint's source code, click Blueprints, select your
blueprint's name, and click Source.
- 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'
- Click Save.
What to do next
Provision an environment by using your blueprint. See
Provisioning cloud environments.