{"id":20608530,"url":"https://github.com/rishang/aws-oidc-broker","last_synced_at":"2025-04-15T04:17:44.283Z","repository":{"id":37015560,"uuid":"471665767","full_name":"Rishang/aws-oidc-broker","owner":"Rishang","description":"OpenID Based Credential Broker for AWS IAM role (Built as an alternative to AWS SSO to support OpenID Federation)","archived":false,"fork":false,"pushed_at":"2024-10-30T19:26:10.000Z","size":1729,"stargazers_count":6,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T04:17:32.951Z","etag":null,"topics":["aws","credentials","federation","iam","keycloak","openid-connect"],"latest_commit_sha":null,"homepage":"https://rishang.github.io/aws-oidc-broker/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rishang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2022-03-19T10:46:00.000Z","updated_at":"2025-04-08T11:12:48.000Z","dependencies_parsed_at":"2023-02-15T17:50:52.760Z","dependency_job_id":"3ca445de-2ea0-4772-8c4d-90621002ce1d","html_url":"https://github.com/Rishang/aws-oidc-broker","commit_stats":{"total_commits":41,"total_committers":3,"mean_commits":"13.666666666666666","dds":0.07317073170731703,"last_synced_commit":"4e4a10ff78f73178769fa902f1241f1c1ff70f78"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishang%2Faws-oidc-broker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishang%2Faws-oidc-broker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishang%2Faws-oidc-broker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rishang%2Faws-oidc-broker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rishang","download_url":"https://codeload.github.com/Rishang/aws-oidc-broker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003972,"owners_count":21196793,"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","credentials","federation","iam","keycloak","openid-connect"],"created_at":"2024-11-16T10:10:54.867Z","updated_at":"2025-04-15T04:17:44.264Z","avatar_url":"https://github.com/Rishang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS OpenID Credential Broker\n\nOpenID Based Identity Credential Broker for AWS (Built as an alternative to AWS SSO to support OpenID Federation)\n\n![demo image](.github/images/panel.png)\n\n\n## Broker authentication flow \n\n```mermaid\nsequenceDiagram;\n\nparticipant User;\nparticipant Broker;\nparticipant IDP;\nparticipant AWS;\n\nUser --\u003e\u003e Broker: Login via IDP\nBroker --\u003e\u003e IDP: Forward Auth Request\nIDP --\u003e\u003e Broker: IDP Login Successful\nUser --\u003e\u003e Broker: Open AWS Console\nBroker --\u003e\u003e AWS: Request Session\nAWS --\u003e\u003e Broker: Login Successfull\nBroker --\u003e\u003e Browser: Open AWS Console\n```\n\n## Getting Started\n\nQuick Start with docker compose\n\n```bash\ndocker-compose up -d\n```\n\n### Prerequisites\n\n- python3\n- virtualenv\n- docker\n- docker-compose\n\n\n### Installing\n\nA step by step series of examples that tell you how to get a development env running\n\nClone the Project \n\n```bash\ngit clone https://github.com/Rishang/aws-oidc-broker.git\n```\n\nInitialzing virtualenv\n\n```bash\ncd aws-oidc-broker\npython -m venv venv\nsource ./venv/bin/activate\n```\n\nInstalling Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\nConfigure .env file or perform export of those variables\n\n```bash\ncp .env.example .env\n```\n\nConfigure environment variables as required.\n\n## Environment Variables for KEYCLOAK integration\n\n| VARIABLE NAME | Example VALUE | DESCRIPTION | REQUIRED |\n| --- | --- | --- | --- |\n| `KEYCLOAK_CLIENT_ID` | `aws-oidc`| Client ID | yes |\n| `KEYCLOAK_CLIENT_SECRET` | `client-secret` | Client Secret | optional |\n| `KEYCLOAK_WELLKNOWN` | `https://example.dev/realms/test/.well-known/openid-configuration` | Keycloak well-known openid URL | yes |\n| `APP_SECRET` | `!apppasswd` | optional env variable to set encrytion secret | no |\n| `TITLE` | `Example Broker` | Title to display on Broker UI | no |\n\n## Deployment\n\nAdd additional notes about how to deploy this on a live system\n\n## Built With\n\n- [Flask](https://flask.palletsprojects.com/) - The web framework used\n\n- [VueJs](https://vuejs.org/) - The web framework for building web user interfaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishang%2Faws-oidc-broker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishang%2Faws-oidc-broker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishang%2Faws-oidc-broker/lists"}