{"id":18624791,"url":"https://github.com/opszero/terraform-azuread-mrmgr","last_synced_at":"2026-01-24T23:33:33.930Z","repository":{"id":101803285,"uuid":"491222562","full_name":"opszero/terraform-azuread-mrmgr","owner":"opszero","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-24T19:27:59.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T07:32:01.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://opszero.com","language":"HCL","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/opszero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT","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},"funding":{"github":["abhiyerra"],"custom":["https://www.opszero.com"]}},"created_at":"2022-05-11T18:07:16.000Z","updated_at":"2025-11-24T19:28:02.000Z","dependencies_parsed_at":"2024-03-18T21:28:57.230Z","dependency_job_id":"bc2eb1dc-19e7-400a-952f-2a47df22cde5","html_url":"https://github.com/opszero/terraform-azuread-mrmgr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/opszero/terraform-azuread-mrmgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azuread-mrmgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azuread-mrmgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azuread-mrmgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azuread-mrmgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opszero","download_url":"https://codeload.github.com/opszero/terraform-azuread-mrmgr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azuread-mrmgr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"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":"2024-11-07T04:31:05.319Z","updated_at":"2026-01-24T23:33:33.057Z","avatar_url":"https://github.com/opszero.png","language":"HCL","funding_links":["https://github.com/sponsors/abhiyerra","https://www.opszero.com"],"categories":[],"sub_categories":[],"readme":"# MrMgr (Azure IAM)\n\n# How to deploy service principal\n### Example\n- In the below defined block, we are creating two `app` and `api` service principals.\n- In `app` service principal used Federated credentials of `opszero/app` repo.\n- In `api` service principal used Federated credentials of `opszero/api` Repo.\n\n\n```\n    module \"openid\" {\n      source = \"./..\"\n      github = true\n      sp_name = \"testing-sp-name\"\n      repos  = {\n        app = {\n          repo        = \"opszero/app\"\n          entity_type = \"pull_request\" # for branch ref:refs/heads/\u003cbranch name\u003e\n        }\n        api = {\n          repo        = \"opszero/api\"\n          entity_type = \"pull_request\" # for branch ref:refs/heads/\u003cbranch name\u003e\n        }\n      }\n    }\n```\n\n#### Need to allow access `service principal` to `Kubernetes`\n\n- Get the output of `client_id`.\n- `client_id` put it in `kubelogin-cluterrole.yml` name section in subjects.\n\n```\nsubjects:\n  - apiGroup: rbac.authorization.k8s.io\n    kind: User\n    name: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n- Run the command `kubectl apply kubelogin-cluterrole.yml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopszero%2Fterraform-azuread-mrmgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopszero%2Fterraform-azuread-mrmgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopszero%2Fterraform-azuread-mrmgr/lists"}