The Utoolity team is pleased to present Identity Federation for AWS 2.4 – this release adds an Amazon ECR Credentials Variables task to Bamboo for providing temporary Amazon EC2 Container Registry (ECR) authentication credentials to other tools by injecting them via variables into AWS unaware tasks like the Bamboo Docker task, adds a REST API for temporary Amazon EC2 Container Registry (ECR) authentication credentials, and adds support for assuming another IAM role from EC2 instance profile credentials used by an Elastic Bamboo agent.
Highlights
Amazon ECR Credentials Variables task for Bamboo
Use the Amazon ECR Credentials Variables task in Bamboo to provide temporary Amazon EC2 Container Registry (ECR) authentication credentials for other tools by injecting them into AWS unaware tasks like the Bamboo Docker task.
Use Amazon ECR Credentials with Bamboo Docker task
The most frequent use case for the Amazon ECR Credentials Variables task is to enable the built-in Bamboo Docker task to push images to an Amazon ECR repository - refer to How to push a Docker image to a repository in your Amazon ECR registry with the Bamboo Docker task for details.
Amazon ECR Credentials retrieval via REST API
Retrieve temporary Amazon EC2 Container Registry (ECR) authentication credentials via the REST API so that developers can easily integrate this feature into their own solutions.
Support for assuming another IAM Role from EC2 Instance Profile credentials
The IAM Role for EC2 (Agent) option in the AWS Credentials Variables and Amazon ECR Credentials Variables tasks for Bamboo now supports assuming another IAM role from the EC2 instance profile credentials - this enables various scenarios, notably switching to roles accross your own AWS accounts and third-party.AWS accounts (cross-account IAM roles).
Release notes
For more details about this release, please refer to the Identity Federation for AWS 2.4 Release Notes.