{"id":21870182,"url":"https://github.com/qoomon/aws-configure","last_synced_at":"2025-07-17T03:36:13.593Z","repository":{"id":57413214,"uuid":"209100315","full_name":"qoomon/aws-configure","owner":"qoomon","description":"A CLI to configure AWS named profiles in ~/.aws/config and ~/.aws/credentials files","archived":false,"fork":false,"pushed_at":"2025-04-07T12:11:21.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-19T03:24:37.392Z","etag":null,"topics":["aws","cli","configure","profiles"],"latest_commit_sha":null,"homepage":"","language":"Python","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/qoomon.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,"zenodo":null}},"created_at":"2019-09-17T16:12:21.000Z","updated_at":"2025-04-07T12:11:25.000Z","dependencies_parsed_at":"2025-04-14T23:43:56.285Z","dependency_job_id":"19e4efc0-362b-4813-915d-572857818d1a","html_url":"https://github.com/qoomon/aws-configure","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/qoomon/aws-configure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoomon%2Faws-configure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoomon%2Faws-configure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoomon%2Faws-configure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoomon%2Faws-configure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qoomon","download_url":"https://codeload.github.com/qoomon/aws-configure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoomon%2Faws-configure/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265563108,"owners_count":23788645,"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","cli","configure","profiles"],"created_at":"2024-11-28T06:10:35.208Z","updated_at":"2025-07-17T03:36:13.578Z","avatar_url":"https://github.com/qoomon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-configure\n\n[![PyPI](https://img.shields.io/pypi/v/aws-configure?)](https://pypi.org/project/aws-configure/)\n\nA CLI to configure AWS named profiles in `~/.aws/config` and `~/.aws/credentials files`\n\n## Usage\n```\nlist profiles:\n\n      aws-configure list\n      \n\n  set profile options:\n\n      aws-configure set [--profile/-p \u003cprofile_name\u003e] [\u003cconfig_options...\u003e]\n\n          --profile/-p \u003cprofile_name\u003e : select profile ['default']\n          \u003cconfig_options\u003e            : key=value pairs e.g. 'region=eu-central-1' 'source_profile=default'\n          --empty/-e                  : empty all profile options before setting new options\n          --empty-config              : empty profile config options before setting\n          --empty-credentials         : empty profile credentials options before setting\n\n  get profile options:\n\n      aws-configure get [--profile/-p \u003cprofile_name\u003e] [\u003cconfig_options...\u003e]\n\n          --profile/-p \u003cprofile_name\u003e : select profile ['default']\n          \u003cconfig_options\u003e            : option key e.g. 'region' 'source_profile'\n\n  delete profile:\n\n      aws-configure delete [--profile/-p \u003cprofile_name\u003e] [--config] [--credentials]\n\n          --profile/-p \u003cprofile_name\u003e : select profile ['default']\n          --config                    : delete only profile config in '~/.aws/config'\n          --credentials               : delete only profile credentials in '~/.aws/credentials'\n\n  print help\n\n      aws-configure help\n```\n\n### Bash Helper Scripts\n#### Export Credentials To Current Bash Session\n```\nfunction aws-export-credentials {\n  local profile=\"$1\"\n  { \n    read AWS_ACCESS_KEY_ID \n    read AWS_SECRET_ACCESS_KEY \n    read AWS_SESSION_TOKEN\n  } \u003c\u003c\u003c $(\n    aws-configure get -p \"$profile\" \\\n      aws_access_key_id \\\n      aws_secret_access_key \\\n      aws_session_token\n    )\n  export AWS_ACCESS_KEY_ID \n  export AWS_SECRET_ACCESS_KEY \n  export AWS_SESSION_TOKEN\n}\n```\n\n## Setup dev environment\n\n#### Install Dev Dependencies\n`pip3 install -r requirements.txt`\n\n`pip3 install -r requirements-dev.txt`\n\n#### Create Package\n`python3 setup.py sdist bdist_wheel`\n\n#### Local Install\n`pip3 install --force-reinstall --no-deps dist/aws_configure-*-py3-none-any.whl`\n\n#### Deploy to PiPy\n`twine upload dist/*`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoomon%2Faws-configure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqoomon%2Faws-configure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoomon%2Faws-configure/lists"}