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.
Note: You cannot specify different user credentials for OpenStack clouds or for Microsoft™ Azure.
- 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® clouds, 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'
- For Amazon Elastic Compute Cloud, enter these
lines:
- Click Save.