{"id":16500730,"url":"https://github.com/jaxxstorm/change-aws-credentials","last_synced_at":"2025-09-24T10:31:19.677Z","repository":{"id":57583844,"uuid":"115756393","full_name":"jaxxstorm/change-aws-credentials","owner":"jaxxstorm","description":"A simple tool to change your AWS credentials quickly from the commandline","archived":false,"fork":false,"pushed_at":"2023-12-15T08:29:20.000Z","size":50,"stargazers_count":8,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T00:12:19.720Z","etag":null,"topics":["aws","commandline","credentials","mfa","password","profile","rotate","secret"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaxxstorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-12-29T21:52:11.000Z","updated_at":"2024-08-13T03:40:33.000Z","dependencies_parsed_at":"2023-12-15T09:42:44.461Z","dependency_job_id":null,"html_url":"https://github.com/jaxxstorm/change-aws-credentials","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxstorm%2Fchange-aws-credentials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxstorm%2Fchange-aws-credentials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxstorm%2Fchange-aws-credentials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxxstorm%2Fchange-aws-credentials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaxxstorm","download_url":"https://codeload.github.com/jaxxstorm/change-aws-credentials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234070664,"owners_count":18774713,"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","commandline","credentials","mfa","password","profile","rotate","secret"],"created_at":"2024-10-11T14:59:23.629Z","updated_at":"2025-09-24T10:31:14.416Z","avatar_url":"https://github.com/jaxxstorm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# change-aws-credentials\n\n[![Build Status](https://travis-ci.org/jaxxstorm/change-aws-credentials.svg?branch=master)](https://travis-ci.org/jaxxstorm/change-aws-credentials)\n\nA simple tool to change your AWS credentials quickly from the commandline.\n\nCurrently supports changing your password, will eventually support changing your MFA and Access/Secret Keys\n\n# Prerequisites\n\nYour AWS users must have the ability to change their own IAM credentials. You can see how to configure this [here](http://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_users-self-manage-mfa-and-creds.html)\n\n# Installation\n\n### OS X\n\nInstall via homebrew: `brew install jaxxstorm/tap/change-aws-credentials`\n\n### Linux\n\nInstall the Go binary and place it in your `$PATH`. You can download the latest version using this handy one-liner:\n\n```\ncurl -s https://api.github.com/repos/jaxxstorm/change-aws-credentials/releases/latest | jq -r '.assets[]| select(.browser_download_url | contains(\"linux\")) | .browser_download_url' | wget -i -\n```\n\n### Windows\n\nDownload the latest release from the [releases](https://github.com/jaxxstorm/change-aws-credentials/releases/latest) page and install as appropriate.\n\n# Usage\n\nAssuming you have a working aws credentials file in the usual location (`$HOME/.aws`) then you can just run the command:\n\n```bash\nAllows users to quickly reset their AWS credentials without\nhaving to burden an administrator\n\nUsage:\n  change-aws-credentials [flags]\n  change-aws-credentials [command]\n\nAvailable Commands:\n  help        Help about any command\n  keys        Rotate your AWS keys\n  password    Change your AWS Password\n\nFlags:\n  -P, --awsprofile string   AWS Profile to Change Credentials for\n      --config string       config file (default is $HOME/.change-aws-password.yaml)\n  -h, --help                help for change-aws-credentials\n\nUse \"change-aws-credentials [command] --help\" for more information about a command.\n```\n\n## Docker\n\nA docker image is built with every version, just remember to mount your AWS credentials file in the docker container like so:\n\n```\ndocker run -it -v $HOME:/root/ change-aws-credentials:latest keys\n```\n\n## Profiles\n\nYou can specify the AWS profile you want to change the password for using the `-P` flag. If you don't explicitly specify this, the tool will warn you which profile you're changing using by checking the `AWS_PROFILE` environment variable\n\n# Building\n\nIf you want to contribute, we use glide for dependency management, so it should be as simple as:\n\n - cloning this repo into `$GOPATH/src/github.com/jaxxstorm/change-aws-credentials`\n - run glide install from the directory \n - run go build -o change-aws-credentials main.go\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxxstorm%2Fchange-aws-credentials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxxstorm%2Fchange-aws-credentials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxxstorm%2Fchange-aws-credentials/lists"}