Skip to content

redfox-tools/bamboo-aws-assume-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS assume role plugin for Bamboo

Automatically assume role and inject AWS credentials to all your tasks in given job.

How it works

Define your custom capability of your node with AWS role ARN and credentials which should be used for role assumption. Plugin integrates with AWS Credentials configuration in Shared credentials and standard AWS credential providers (environment variables, EC2 roles etc).

AWS credentials are injected as task context variables:

  • aws.accessKey.password
  • aws.secretAccessKey.password
  • aws.sessionToken.password

Additionally to simplify integration with other tools there is a combined variable: aws.env.password in format of AWS_ACCESS_KEY_ID=${aws.accessKey.password} AWS_SECRET_ACCESS_KEY=${aws.secretAccessKey.password} AWS_SESSION_TOKEN=${aws.sessionToken.password}

That variable can be useful in custom tasks as an environment variable configuration. Unfortunately it's not possible to inject AWS_* variables directly.

Screenshots

Custom capability with role definition Image 1

Check agents with AWS capabilities Image 2

Define role per Job Image 3

Bamboo output filtering for secrets Image 4

About

Simple plugin for AWS assume role functionality for Bamboo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published