You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add script to create enterprise team tied to IdP group via SCIM (#150)
* feat: add script to create enterprise team tied to IdP group via SCIM
* Update scripts/create-enterprise-team-tied-to-idp-group.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: scripts/README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,23 @@ The script generates a JWT that is valid for 10 minutes, which can be used to au
70
70
> [!NOTE]
71
71
> Requires `openssl` to be installed. The JWT can be used with the GitHub API to generate installation access tokens.
72
72
73
+
## create-enterprise-team-tied-to-idp-group.sh
74
+
75
+
Creates an enterprise team in GitHub and ties it to an Identity Provider (IdP) group via SCIM. The script paginates through all SCIM groups in the enterprise to find the target IdP group by display name, then creates an enterprise team linked to that group.
76
+
77
+
Prerequisites:
78
+
79
+
-`curl` and `jq` must be installed
80
+
- Set the `GH_PAT` environment variable: `export GH_PAT=ghp_abc` (must have `admin:enterprise` scope)
81
+
- SCIM/SSO must be configured for the enterprise with IdP groups provisioned
0 commit comments