AWS Credentials Sources
You currently have two the following options to provide provide AWS Security Credentials:
Identity Federation for AWS
Tip | ||
---|---|---|
| ||
This is the recommended approach to share and manage AWS credentials:
|
Refer to AWS Connector Management for details.
- this option requires at least one AWS Connector to be configured with System Scope to allow usage from Bamboo builds, where no user session is available
- a connector yields a set of temporary credentials on task execution (optionally limiting the IAM permissions)
- you can configure multiple connectors to provide credentials with different IAM permissions tailored for specific use cases
IAM Role for EC2 (Agent)
You can use IAM Roles for Amazon EC2 to optionally skip credentials configuration all together: if an agent happens to run on an EC2 instance started with an instance profile (IAM role), the tasks can be configured to facilitate those credentials. Of course, the underlying IAM role needs to have a sufficient policy attached to grant the the required permissions for the task at hand.
This feature requires the Amazon EC2 instance running the agent to be started with an EC2 instance profile. There are three different scenarios:
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
AWS China (Beijing) Region
Include Page | ||||
---|---|---|---|---|
|
AWS GovCloud (US) Region
Include Page | ||||
---|---|---|---|---|
|