https://github.com/sgreben/docker-awsebcli-with-assume-role
Docker image for the AWS EB CLI with a wrapper that automatically assumes an IAM role (upstream AWS EB CLI releases are tracked automatically)
https://github.com/sgreben/docker-awsebcli-with-assume-role
assume-role aws cli docker eb elasticbeanstalk environment-variables image
Last synced: 5 months ago
JSON representation
Docker image for the AWS EB CLI with a wrapper that automatically assumes an IAM role (upstream AWS EB CLI releases are tracked automatically)
- Host: GitHub
- URL: https://github.com/sgreben/docker-awsebcli-with-assume-role
- Owner: sgreben
- Created: 2019-07-17T14:01:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-10T00:24:20.000Z (5 months ago)
- Last Synced: 2026-01-10T22:14:29.337Z (5 months ago)
- Topics: assume-role, aws, cli, docker, eb, elasticbeanstalk, environment-variables, image
- Language: Shell
- Homepage: https://hub.docker.com/r/sgreben/awsebcli-with-assume-role/tags
- Size: 621 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# awsebcli-with-assume-role
[](https://hub.docker.com/r/sgreben/awsebcli-with-assume-role/builds) [](https://quay.io/repository/sgreben/awsebcli-with-assume-role) [](https://gitlab.com/sgreben/docker-awsebcli-with-assume-role/pipelines)
Provides a wrapper `with-assume-role` to run commands under an assumed role (defined by the value of the environment variable `ASSUME_ROLE_ARN`).
Latest releases of `awsebcli` are automatically tracked, updated in [./requirements.txt](requirements.txt), and built as tagged Docker images (e.g. `sgreben/awsebcli-with-assume-role:3.15.2`) using [Renovate](https://renovatebot.com), [Gitlab CI](https://gitlab.com/sgreben/docker-awsebcli-with-assume-role/pipelines), and [Quay.io](https://quay.io/repository/sgreben/awsebcli-with-assume-role?tab=builds)/[DockerHub](https://hub.docker.com/r/sgreben/awsebcli-with-assume-role/builds).
## Usage
```
docker pull sgreben/awsebcli-with-assume-role
```
```
export ASSUME_ROLE_ARN=arn:aws:iam::123456789012:role/demo
docker run --rm -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e ASSUME_ROLE_ARN \
sgreben/awsebcli-with-assume-role \
with-assume-role eb --version
```