{"id":20973956,"url":"https://github.com/jamesroutley/awscm","last_synced_at":"2025-05-14T12:31:01.587Z","repository":{"id":57526676,"uuid":"52877293","full_name":"jamesroutley/awscm","owner":"jamesroutley","description":"Manage AWS Credentials","archived":false,"fork":false,"pushed_at":"2017-05-10T12:44:39.000Z","size":26,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T17:35:48.098Z","etag":null,"topics":["aws","aws-cli","aws-sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesroutley.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}},"created_at":"2016-03-01T13:05:58.000Z","updated_at":"2024-06-20T17:35:48.099Z","dependencies_parsed_at":"2022-09-07T02:52:16.201Z","dependency_job_id":null,"html_url":"https://github.com/jamesroutley/awscm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroutley%2Fawscm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroutley%2Fawscm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroutley%2Fawscm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroutley%2Fawscm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesroutley","download_url":"https://codeload.github.com/jamesroutley/awscm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225293837,"owners_count":17451428,"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","aws-cli","aws-sdk"],"created_at":"2024-11-19T04:25:47.733Z","updated_at":"2024-11-19T04:25:48.566Z","avatar_url":"https://github.com/jamesroutley.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awscm\n\nAWS Credentials Manager, a cli tool for switching AWS profiles.\n\n## Example\n\nAccidentally run `aws-cli` command in the incorrect account:\n\n```shell\n$ aws ec2 describe-instances --instance-id i-xxxxxx\nAn error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.\n```\n\nList available profiles:\n\n```shell\n$ awscm ls\nhome\nwork\n```\n\nSwitch accounts and rerun command:\n\n```shell\n$ awscm use work\n$ aws ec2 describe-instances --instance-id i-0a6d8ff0f31xxxxxx\n{\n    \"Reservations\": [\n        // Output truncated\n    ]\n}\n```\n\n## API\n\n```\n$ awscm\nawscm is a tool for setting an AWS profile to use.\n\nUsage:\n  awscm [command]\n\nAvailable Commands:\n  help        Help about any command\n  init        print installation instructions\n  ls          List available AWS profiles\n  output      use switches to an AWS output format\n  region      use switches to an AWS region\n  status      Show current settings\n  use         use switches to an AWS profile\n\nFlags:\n  -h, --help          help for awscm\n\nUse \"awscm [command] --help\" for more information about a command.\n```\n\n## Install\n\nInstall with [Homebrew](https://brew.sh/) (macOS only):\n\n```shell\n$ brew install jamesroutley/tap/awscm\n$ awscm init \u003e\u003e ~/.bashrc  # or ~/.zshrc\n```\n\nInstall with `go get` (requires `go \u003e= 1.8`):\n\n```shell\n$ go get github.com/jamesroutley/awscm\n$ awscm init \u003e\u003e ~/.bashrc  # or ~/.zshrc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesroutley%2Fawscm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesroutley%2Fawscm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesroutley%2Fawscm/lists"}