{"id":37077729,"url":"https://github.com/pmuller/awsudo","last_synced_at":"2026-01-14T09:01:03.592Z","repository":{"id":57413418,"uuid":"64850442","full_name":"pmuller/awsudo","owner":"pmuller","description":"sudo for AWS roles","archived":true,"fork":false,"pushed_at":"2018-03-06T17:28:29.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-15T20:19:33.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmuller.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","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-08-03T13:59:38.000Z","updated_at":"2024-02-08T22:20:19.000Z","dependencies_parsed_at":"2022-09-07T11:42:00.323Z","dependency_job_id":null,"html_url":"https://github.com/pmuller/awsudo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pmuller/awsudo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fawsudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fawsudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fawsudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fawsudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmuller","download_url":"https://codeload.github.com/pmuller/awsudo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuller%2Fawsudo/sbom","scorecard":{"id":738967,"data":{"date":"2025-08-11","repo":{"name":"github.com/pmuller/awsudo","commit":"7eced600e9449ff3720b5c8c6e09086b2420a583"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T16:48:18.478Z","repository_id":57413418,"created_at":"2025-08-22T16:48:18.479Z","updated_at":"2025-08-22T16:48:18.479Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T09:01:02.926Z","updated_at":"2026-01-14T09:01:03.579Z","avatar_url":"https://github.com/pmuller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"awsudo\n======\n\nawsudo is a command-line tool that requests temporary credentials from `STS\n\u003chttps://docs.aws.amazon.com/fr_fr/STS/latest/APIReference/Welcome.html\u003e`_\nto use an `IAM role\n\u003chttps://docs.aws.amazon.com/fr_fr/IAM/latest/UserGuide/id_roles.html\u003e`_.\n\nIf `MFA \u003chttps://aws.amazon.com/iam/details/mfa/\u003e`_ is enabled,\nyou'll be prompted for the token code.\n\n\nUsage\n-----\n\nFirst, you need to define your credentials in ``~/.aws/credentials``:\n\n.. code-block:: ini\n\n    [default]\n    aws_access_key_id = AKIAIJFLKDSJFKLDSZ2Q\n    aws_secret_access_key = Eoz3FDKJLSfdsJLKFDjflsFDjklJFDjfdFDjdOKa\n\nThen define your profiles in ``~/.aws/config``:\n\n.. code-block:: ini\n\n    [profile administrator@development]\n    role_arn = arn:aws:iam::00000000002:role/administrator\n    source_profile = default\n    mfa_serial = arn:aws:iam::00000000001:mfa/pmuller\n\n    [profile administrator@staging]\n    role_arn = arn:aws:iam::00000000003:role/administrator\n    source_profile = default\n    mfa_serial = arn:aws:iam::00000000001:mfa/pmuller\n\n    [profile administrator@production]\n    role_arn = arn:aws:iam::00000000004:role/administrator\n    source_profile = default\n    mfa_serial = arn:aws:iam::00000000001:mfa/pmuller\n\n\nYou can use awsudo either to get temporary credentials as ready-to-use\nenvironment variables:\n\n.. code-block:: console\n\n    $ awsudo administrator@staging\n    Enter MFA code:\n    AWS_ACCESS_KEY_ID=ASIAJFSDLKJFS3VLA\n    AWS_SECRET_ACCESS_KEY=UKvIegRLKJSFLKJFDSLKFJSDLKJ\n    AWS_SESSION_TOKEN=FQoDYXdzEHIaDONIt4M0O10zRms0ac2.....\n\n\nOr to directly run another executable with credentials defined in its\nenvironment:\n\n.. code-block:: console\n\n    $ awsudo administrator@development aws iam list-groups\n    Enter MFA code:\n    {\n        \"Groups\": [\n            {\n                \"Path\": \"/\",\n                \"CreateDate\": \"2016-08-01T02:13:52Z\",\n                \"GroupId\": \"AGPAILKJFSDLFKJSDLFS2\",\n                \"Arn\": \"arn:aws:iam::1234567890:group/administrators\",\n                \"GroupName\": \"administrators\"\n            },\n            {\n                \"Path\": \"/\",\n                \"CreateDate\": \"2016-08-01T02:24:05Z\",\n                \"GroupId\": \"AGPAFSJDKLJFDSLKJFST6\",\n                \"Arn\": \"arn:aws:iam::1234567890:group/users\",\n                \"GroupName\": \"users\"\n            }\n        ]\n    }\n\n\nDevelopment\n-----------\n\nRun tests:\n\n.. code-block:: console\n\n    $ make check\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fawsudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmuller%2Fawsudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuller%2Fawsudo/lists"}