{"id":31955771,"url":"https://github.com/cisagov/aws-profile-sync","last_synced_at":"2025-10-14T14:29:05.945Z","repository":{"id":40463438,"uuid":"239587833","full_name":"cisagov/aws-profile-sync","owner":"cisagov","description":"Synchronize AWS credential profiles from remote sources","archived":false,"fork":false,"pushed_at":"2025-10-08T02:16:24.000Z","size":1009,"stargazers_count":15,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-10-08T04:13:35.544Z","etag":null,"topics":["aws","credentials","git","ssh","sync"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cisagov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-10T18:53:05.000Z","updated_at":"2025-08-08T05:52:53.000Z","dependencies_parsed_at":"2024-08-06T23:47:08.155Z","dependency_job_id":"3dfcf3f2-e8da-414d-8565-150f8ea3d227","html_url":"https://github.com/cisagov/aws-profile-sync","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cisagov/aws-profile-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cisagov%2Faws-profile-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cisagov%2Faws-profile-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cisagov%2Faws-profile-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cisagov%2Faws-profile-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cisagov","download_url":"https://codeload.github.com/cisagov/aws-profile-sync/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cisagov%2Faws-profile-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019119,"owners_count":26086680,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","credentials","git","ssh","sync"],"created_at":"2025-10-14T14:29:02.813Z","updated_at":"2025-10-14T14:29:05.933Z","avatar_url":"https://github.com/cisagov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-profile-sync ☁️🧻🚰 #\n\n[![GitHub Build Status](https://github.com/cisagov/aws-profile-sync/workflows/build/badge.svg)](https://github.com/cisagov/aws-profile-sync/actions)\n[![CodeQL](https://github.com/cisagov/aws-profile-sync/workflows/CodeQL/badge.svg)](https://github.com/cisagov/aws-profile-sync/actions/workflows/codeql-analysis.yml)\n[![Coverage Status](https://coveralls.io/repos/github/cisagov/aws-profile-sync/badge.svg?branch=develop)](https://coveralls.io/github/cisagov/aws-profile-sync?branch=develop)\n[![Known Vulnerabilities](https://snyk.io/test/github/cisagov/aws-profile-sync/develop/badge.svg)](https://snyk.io/test/github/cisagov/aws-profile-sync)\n\n`aws-profile-sync` is a command line utility that simplifies the synchronization\nof\n[AWS credential profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html)\nacross groups of users.\n\n## Requirements ##\n\n- Python versions 3.6 and above.  Note that Python 2 *is not* supported.\n- Git version 2.23 and above if using the Git handler.\n\n## Installation ##\n\nFrom source:\n\n```console\ngit clone https://github.com/cisagov/aws-profile-sync.git\ncd aws-profile-sync\npip install -r requirements.txt\n```\n\n## Usage ##\n\nThe utility reads a credentials file looking for magic `#!aws-profile-sync` comments.\nIt will then fetch the remote content and intelligently integrate it into a new\ncredentials file.\n\n```gitconfig\n[cool-user]\naws_access_key_id = XXXXXXXXXXXXXXXXXXXX\naws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n#!profile-sync ssh://git@github.com/aceofspades/aws-profiles.git branch=master filename=roles -- source_profile=cool-user role_session_name=lemmy-is-god mfa_serial=arn:aws:iam::123456789012:mfa/ian.kilmister\n\n# This line will get replaced\n\n#!profile-sync-stop\n\n# These lines won't be modified by the utility.\n# That was a great time, the summer of '71 - I can't remember it, but I'll never forget it!.\n```\n\nThe utility will replace all the content between the `#!aws-profile-sync` and\n`#!aws-profile-sync-stop` lines in the above example.  To do this it will:\n\n- Clone the repository that lives at `git@github.com/aceofspades/aws-profiles.git`.\n- Switch to the `master` branch.\n- Read the file `roles`.\n- Override and replace any values specified after the `--` in the magic line.\n\nA copy of your previous `credentials` file is stored next to it as `credentials.backup`.\n\nFor detailed usage instructions see: `aws-profile-sync --help`\n\n## Contributing ##\n\nWe welcome contributions!  Please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for\ndetails.\n\n## License ##\n\nThis project is in the worldwide [public domain](LICENSE).\n\nThis project is in the public domain within the United States, and\ncopyright and related rights in the work worldwide are waived through\nthe [CC0 1.0 Universal public domain\ndedication](https://creativecommons.org/publicdomain/zero/1.0/).\n\nAll contributions to this project will be released under the CC0\ndedication. By submitting a pull request, you are agreeing to comply\nwith this waiver of copyright interest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcisagov%2Faws-profile-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcisagov%2Faws-profile-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcisagov%2Faws-profile-sync/lists"}