{"id":18685533,"url":"https://github.com/nitorcreations/aws-oidc-login","last_synced_at":"2026-02-05T08:31:18.773Z","repository":{"id":50185573,"uuid":"202130161","full_name":"NitorCreations/aws-oidc-login","owner":"NitorCreations","description":"CLI login to AWS using OpenID Connect","archived":false,"fork":false,"pushed_at":"2025-01-24T15:42:12.000Z","size":43,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-06-20T21:13:15.762Z","etag":null,"topics":["aws","cli","login","oidc"],"latest_commit_sha":null,"homepage":"","language":"Python","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/NitorCreations.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,"zenodo":null}},"created_at":"2019-08-13T11:30:52.000Z","updated_at":"2019-12-01T02:20:01.000Z","dependencies_parsed_at":"2025-05-18T18:47:51.282Z","dependency_job_id":null,"html_url":"https://github.com/NitorCreations/aws-oidc-login","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/NitorCreations/aws-oidc-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitorCreations%2Faws-oidc-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitorCreations%2Faws-oidc-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitorCreations%2Faws-oidc-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitorCreations%2Faws-oidc-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NitorCreations","download_url":"https://codeload.github.com/NitorCreations/aws-oidc-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitorCreations%2Faws-oidc-login/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262647492,"owners_count":23342658,"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","login","oidc"],"created_at":"2024-11-07T10:23:05.031Z","updated_at":"2026-02-05T08:31:18.727Z","avatar_url":"https://github.com/NitorCreations.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log in to AWS using OpenID Connect\n\nThe aim for this is to create a general purpose CLI OIDC login with a limited set of trusted dependencies.\n\nTested with Azure AD for now. Your mileage may vary with other providers, please let us know!\n\n[![Codeship Status for NitorCreations/aws-oidc-login](https://app.codeship.com/projects/c1b8cf70-ba79-0137-d140-5ec1c160b8c0/status?branch=master)](https://app.codeship.com/projects/364808)\n\n## Prerequisites (Azure AD example)\n* Create Azure AD App\n    * Set public client reply url to `http://localhost`\n    * Add an appRole (may be unnecessary)\n    * Add users(s) to the role (to the app)\n* Create an AWS OIDC identity provider\n    * Authority URL will be `https://login.microsoftonline.com/\u003cAAD tenant id\u003e/oauth2/v2.0`\n    * Add your AAD app client id as audience\n* Create a web identity role with permissions you'd like\n    * Edit trust relationship for the role to allow role assumption with tokens issued by AAD for your app\n* Add parameters under a suitable profile ~/.aws/config:\n    * Add your application id (client id) from AAD app\n    * Add your AAD tenant id\n    * `oidc_authority_url=https://login.microsoftonline.com/\u003cAAD tenant id\u003e/oauth2/v2.0`\n    * `oidc_client_id=\u003cid of your AAD app\u003e`\n    * `oidc_role_arn=\u003cARN of the role you are assuming on AWS\u003e`\n\n## Installation\n\nIt's [available on PyPI](https://pypi.org/project/aws-oidc-login/). Install by running `pip install aws-oidc-login`.\n\n## Run\n\nThe executable is called `aol`. Log in with default profile by simply running `aol` or specify a profile with `aol [profile]`. \n\nSee `aol -h` for more options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitorcreations%2Faws-oidc-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitorcreations%2Faws-oidc-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitorcreations%2Faws-oidc-login/lists"}