{"id":15870981,"url":"https://github.com/sgreben/docker-awscli-with-assume-role","last_synced_at":"2025-03-16T04:30:30.604Z","repository":{"id":36075404,"uuid":"195394500","full_name":"sgreben/docker-awscli-with-assume-role","owner":"sgreben","description":"Docker image for the AWS CLI with a wrapper that automatically assumes an IAM role (upstream AWS CLI releases are tracked automatically)","archived":false,"fork":false,"pushed_at":"2024-10-23T21:31:36.000Z","size":448,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T09:55:55.261Z","etag":null,"topics":["assume-role","aws","cli","docker","environment-variables","image"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/sgreben/awscli-with-assume-role/tags","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgreben.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-05T10:58:29.000Z","updated_at":"2024-10-23T21:31:32.000Z","dependencies_parsed_at":"2023-12-04T22:31:36.234Z","dependency_job_id":"d4df3c9c-e685-447b-92c9-7ec7dc32c178","html_url":"https://github.com/sgreben/docker-awscli-with-assume-role","commit_stats":{"total_commits":1296,"total_committers":3,"mean_commits":432.0,"dds":0.470679012345679,"last_synced_commit":"00a7033e3b229df707419aaaca9b619ebe352ffb"},"previous_names":[],"tags_count":770,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fdocker-awscli-with-assume-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fdocker-awscli-with-assume-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fdocker-awscli-with-assume-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fdocker-awscli-with-assume-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgreben","download_url":"https://codeload.github.com/sgreben/docker-awscli-with-assume-role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801679,"owners_count":20350108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assume-role","aws","cli","docker","environment-variables","image"],"created_at":"2024-10-06T00:41:15.227Z","updated_at":"2025-03-16T04:30:30.302Z","avatar_url":"https://github.com/sgreben.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awscli-with-assume-role\n\n[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/sgreben/awscli-with-assume-role.svg)](https://hub.docker.com/r/sgreben/awscli-with-assume-role/builds) [![Docker Repository on Quay](https://quay.io/repository/sgreben/awscli-with-assume-role/status \"Docker Repository on Quay\")](https://quay.io/repository/sgreben/awscli-with-assume-role) [![pipeline status](https://gitlab.com/sgreben/docker-awscli-with-assume-role/badges/master/pipeline.svg)](https://gitlab.com/sgreben/docker-awscli-with-assume-role/pipelines)\n\nProvides a wrapper `with-assume-role` to run commands under an assumed role (defined by the value of the environment variable `ASSUME_ROLE_ARN`).\n\nLatest releases of `awscli` are automatically tracked, updated in [./requirements.txt](requirements.txt), and built as tagged Docker images (e.g. `sgreben/awscli-with-assume-role:1.16.196`) using [Renovate](https://renovatebot.com), [Gitlab CI](https://gitlab.com/sgreben/docker-awscli-with-assume-role/pipelines), and [Quay.io](https://quay.io/repository/sgreben/awscli-with-assume-role?tab=builds)/[DockerHub](https://hub.docker.com/r/sgreben/awscli-with-assume-role/builds).\n\n## Usage\n\n```\ndocker pull sgreben/awscli-with-assume-role\n```\n\n```\nexport ASSUME_ROLE_ARN=arn:aws:iam::123456789012:role/demo\ndocker run --rm -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e ASSUME_ROLE_ARN \\\n    sgreben/awscli-with-assume-role \\\n    with-assume-role aws sts get-caller-identity # prints arn:aws:iam::123456789012:role/demo if the AssumeRole call was successful\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgreben%2Fdocker-awscli-with-assume-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgreben%2Fdocker-awscli-with-assume-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgreben%2Fdocker-awscli-with-assume-role/lists"}