{"id":17674669,"url":"https://github.com/dedoussis/aws-assume-role","last_synced_at":"2025-07-11T15:13:42.240Z","repository":{"id":116169891,"uuid":"130588647","full_name":"dedoussis/AWS-Assume-Role","owner":"dedoussis","description":"Zsh script for assuming an AWS IAM role using MFA authentication","archived":false,"fork":false,"pushed_at":"2018-05-24T06:29:24.000Z","size":3,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T03:41:24.670Z","etag":null,"topics":["aws","iam-credentials","iam-role","mfa","script","zsh"],"latest_commit_sha":null,"homepage":"","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/dedoussis.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":"2018-04-22T17:02:35.000Z","updated_at":"2024-11-25T12:41:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"821f5d9b-16a2-44dc-ae19-e1527c1eb9a5","html_url":"https://github.com/dedoussis/AWS-Assume-Role","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedoussis%2FAWS-Assume-Role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedoussis%2FAWS-Assume-Role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedoussis%2FAWS-Assume-Role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedoussis%2FAWS-Assume-Role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedoussis","download_url":"https://codeload.github.com/dedoussis/AWS-Assume-Role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253823453,"owners_count":21969848,"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":["aws","iam-credentials","iam-role","mfa","script","zsh"],"created_at":"2024-10-24T07:08:13.872Z","updated_at":"2025-05-12T21:11:24.771Z","avatar_url":"https://github.com/dedoussis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assume IAM role script for AWS\n\nAs a user of an AWS account, use this zsh script to assume any given IAM role within the account.  \nIncludes step of MFA authentication.\n\n## Usage \n\n``` bash\n# Replace {role} with the ARN of the target IAM role. \n# Then run:\nrole_arn={role} source aws_assume_role.sh\n```\nScript will export `AWS_ACCESS_KEY`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN` in the current shell.\n\n## Background\n\nFurther info on temporary security credentials can be found [here](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedoussis%2Faws-assume-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedoussis%2Faws-assume-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedoussis%2Faws-assume-role/lists"}