[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7Q0PBNCQMY9SKC9DZPWPV":3,"skill-same:01M6F7Q0PBNCQMY9SKC9DZPWPV":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":29,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6F7Q0PBNCQMY9SKC9DZPWPV","identity-access-management",null,"Set up and manage SSO, SCIM provisioning, and MFA for startup teams using Google Workspace, Okta, or Azure AD.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-identity-access-management\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"identity access management","identity","access","management","only","2026","relevant","scripts","critical","os","platform","main","community","up","google","devops-security","okta","SET","sso","google workspace","security","2026-11-10 10:12:30",false,"---\nname: identity-access-management\ndescription: Set up and manage SSO, SCIM provisioning, and MFA for startup teams using\n  Google Workspace, Okta, or Azure AD.\ncategory: devops\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires the relevant OS\u002Fplatform tooling and privileged access where\n  noted. Docs-only; helper scripts and templates not bundled.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# Identity & Access Management for Startups\n\nCentralized identity management is not optional once your team exceeds a handful of people. This skill covers practical, production-ready configurations for SSO, SCIM provisioning, MFA enforcement, and access governance using the three most common identity providers for startups: Google Workspace, Okta, and Azure AD (Entra ID).\n\n---\n\n## Change controls\n\nVerify provider edition, API version, privileged role, target tenant and current command help before writes. SSO, provisioning, MFA and emergency access are separate controls; enrollment is not enforcement. Pilot changes, keep tested recovery access, use report-only policy first, and check effective policy before enforcement. Never put real passwords\u002Ftokens in chat, CSV templates, shell history or logs. Docs-only examples are not validated configurations.\n\n## 2. Google Workspace as Identity Provider\n\nGoogle Workspace is the most common starting IdP for startups. Combined with the GAM CLI tool, it provides powerful automation.\n\n### Install GAM (Google Apps Manager)\n\n```bash\n# Install GAM on Linux\u002FmacOS\n# Obtain a pinned GAM release from its official project, inspect it, and install\n# into an approved environment; do not auto-execute a short-link installer.\n\n# Authorize GAM with your Workspace domain\ngam oauth create\n\n# Verify connection\ngam info domain\n```\n\n### Create Organizational Units\n\nOrganizational units (OUs) control policy inheritance and app access.\n\n```bash\n# Create OUs for team structure\ngam create org \"Engineering\"\ngam create org \"Engineering\u002FBackend\"\ngam create org \"Engineering\u002FFrontend\"\ngam create org \"Operations\"\ngam create org \"Operations\u002FIT\"\ngam create org \"Finance\"\ngam create org \"Contractors\"\n\n# Move a user into an OU\ngam update user alice@company.com org \"Engineering\u002FBackend\"\n\n# List all OUs\ngam print orgs\n```\n\n### Configure a SAML App in Google Workspace\n\n```bash\n# Export the Google IdP metadata (download from Admin Console or use GAM)\n# Admin Console: Apps > Web and mobile apps > Add app > Search for app > Download IdP metadata\n\n# For a custom SAML app, you need:\n# 1. ACS URL (from the service provider)\n# 2. Entity ID (from the service provider)\n# 3. Name ID format (usually EMAIL)\n\n# Example: Add a custom SAML app via Admin Console API\ngam create samlapp \"Internal Dashboard\" \\\n  acs_url \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\" \\\n  entity_id \"https:\u002F\u002Fdashboard.company.com\" \\\n  name_id_format \"EMAIL\" \\\n  name_id \"user.primaryEmail\"\n\n# Assign the app to an OU\ngam update samlapp \"Internal Dashboard\" org \"Engineering\" enabled on\n\n# Verify SAML app status\ngam print samlappinfo \"Internal Dashboard\"\n```\n\n### SCIM Provisioning with Google Workspace\n\n```bash\n# Enable auto-provisioning for supported apps\n# Google Workspace supports automatic user provisioning for apps like:\n# Slack, Zoom, Box, Dropbox, Asana, GitHub Enterprise\n\n# List provisioned apps\ngam print tokens\n\n# Force sync provisioning for an app\ngam sync samlapp \"Slack\" users\n\n# Bulk create users from CSV\n# users.csv format: firstname,lastname,email,org,password\ngam csv users.csv gam create user ~email \\\n  firstname ~firstname lastname ~lastname \\\n  password ~password org ~org \\\n  changepassword on\n```\n\n### Enforce MFA at the Workspace Level\n\n```bash\n# Enforce 2-step verification for the entire domain\ngam update org \"\u002F\" 2sv enforced\n\n# Enforce 2SV for a specific OU\ngam update org \"Engineering\" 2sv enforced\n\n# Set enforcement date (give users time to enroll)\ngam update org \"\u002F\" 2sv enforced enforceddate 2026-04-15\n\n# Check 2SV enrollment status for all users\ngam print users fields isEnforcedIn2Sv,isEnrolledIn2Sv\n\n# Find users who have NOT enrolled in 2SV\ngam print users query \"isEnrolledIn2Sv=false\" fields primaryEmail,name\n```\n\n---\n\n## 3. Okta Setup\n\nCheck current Okta plans and program eligibility; this guide does not establish free-tier availability or pricing.\n\n### Initial Okta Configuration via API\n\n```bash\n# Set your Okta domain and API token\nexport OKTA_ORG_URL=\"https:\u002F\u002Fcompany.okta.com\"\nexport OKTA_API_TOKEN=\"your-api-token\"\n\n# Verify connectivity\ncurl -s -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Forg\" | jq '.companyName'\n\n# Create a user\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fusers?activate=true\" \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Alice\",\n      \"lastName\": \"Engineer\",\n      \"email\": \"alice@company.com\",\n      \"login\": \"alice@company.com\"\n    },\n    \"credentials\": {\n      \"password\": { \"value\": \"TempP@ss123!\" }\n    }\n  }' | jq '.id'\n```\n\n### Create Groups for RBAC\n\n```bash\n# Create groups\nfor group in \"Engineering\" \"Operations\" \"Finance\" \"Contractors\" \"AdminAccess\"; do\n  curl -s -X POST \\\n    -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fgroups\" \\\n    -d \"{\\\"profile\\\": {\\\"name\\\": \\\"${group}\\\", \\\"description\\\": \\\"${group} team group\\\"}}\" \\\n    | jq '{id: .id, name: .profile.name}'\ndone\n\n# Add user to group\nUSER_ID=\"00u1abc123\"\nGROUP_ID=\"00g1def456\"\ncurl -s -X PUT \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fgroups\u002F${GROUP_ID}\u002Fusers\u002F${USER_ID}\"\n```\n\n### Add a SAML Application in Okta\n\n```bash\n# Create a SAML 2.0 application\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fapps\" \\\n  -d '{\n    \"name\": \"custom_saml_app\",\n    \"label\": \"Internal Dashboard\",\n    \"signOnMode\": \"SAML_2_0\",\n    \"settings\": {\n      \"signOn\": {\n        \"defaultRelayState\": \"\",\n        \"ssoAcsUrl\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"audience\": \"https:\u002F\u002Fdashboard.company.com\",\n        \"recipient\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"destination\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"subjectNameIdFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\",\n        \"attributeStatements\": [\n          {\n            \"type\": \"EXPRESSION\",\n            \"name\": \"email\",\n            \"namespace\": \"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\",\n            \"values\": [\"user.email\"]\n          },\n          {\n            \"type\": \"EXPRESSION\",\n            \"name\": \"groups\",\n            \"namespace\": \"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\",\n            \"values\": [\"getFilteredGroups({\\\"00g1def456\\\"}, \\\"group.name\\\", 50)\"]\n          }\n        ]\n      }\n    }\n  }' | jq '{id: .id, label: .label, status: .status}'\n\n# Assign group to application\nAPP_ID=\"0oa1xyz789\"\ncurl -s -X PUT \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fapps\u002F${APP_ID}\u002Fgroups\u002F${GROUP_ID}\"\n```\n\n### Okta MFA Policy\n\n```bash\n# Create an MFA enrollment policy requiring WebAuthn + TOTP\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fpolicies\" \\\n  -d '{\n    \"type\": \"MFA_ENROLL\",\n    \"name\": \"Require Strong MFA\",\n    \"status\": \"ACTIVE\",\n    \"settings\": {\n      \"factors\": {\n        \"webauthn\": { \"enroll\": { \"self\": \"REQUIRED\" } },\n        \"google_otp\": { \"enroll\": { \"self\": \"OPTIONAL\" } },\n        \"okta_email\": { \"enroll\": { \"self\": \"NOT_ALLOWED\" } },\n        \"okta_sms\": { \"enroll\": { \"self\": \"NOT_ALLOWED\" } }\n      }\n    }\n  }' | jq '{id: .id, name: .name, status: .status}'\n```\n\n---\n\n## 4. Azure AD \u002F Entra ID\n\nAzure AD (now Microsoft Entra ID) is common at startups using Microsoft 365 or Azure cloud.\n\n### Azure CLI Setup\n\n```bash\n# Install Azure CLI and sign in\naz login\n\n# Select a subscription (this does not independently select the login tenant; use az login --tenant for that)\naz account set --subscription \"your-subscription-id\"\n\n# Verify tenant\naz ad signed-in-user show --query '{name:displayName, email:userPrincipalName}'\n```\n\n### Create Users and Groups\n\n```bash\n# Create a user\naz ad user create \\\n  --display-name \"Alice Engineer\" \\\n  --user-principal-name \"alice@company.onmicrosoft.com\" \\\n  --password \"TempP@ss123!\" \\\n  --force-change-password-next-sign-in true\n\n# Create security groups\nfor group in \"SG-Engineering\" \"SG-Operations\" \"SG-Finance\" \"SG-Admins\"; do\n  az ad group create --display-name \"$group\" --mail-nickname \"$group\"\ndone\n\n# Add user to group\nUSER_OID=$(az ad user show --id \"alice@company.onmicrosoft.com\" --query id -o tsv)\nGROUP_OID=$(az ad group show --group \"SG-Engineering\" --query id -o tsv)\naz ad group member add --group \"$GROUP_OID\" --member-id \"$USER_OID\"\n\n# List group members\naz ad group member list --group \"SG-Engineering\" --query '[].{name:displayName, email:userPrincipalName}' -o table\n```\n\n### Conditional Access Policies via Graph API\n\n```bash\n# Require MFA for all users accessing cloud apps\n# Uses Microsoft Graph API\nACCESS_TOKEN=$(az account get-access-token --resource https:\u002F\u002Fgraph.microsoft.com --query accessToken -o tsv)\n\ncurl -s -X POST \\\n  -H \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fidentity\u002FconditionalAccess\u002Fpolicies\" \\\n  -d '{\n    \"displayName\": \"Require MFA for all users\",\n    \"state\": \"enabledForReportingButNotEnforced\",\n    \"conditions\": {\n      \"users\": {\n        \"includeUsers\": [\"All\"],\n        \"excludeGroups\": [\"'${BREAKGLASS_GROUP_OID}'\"]\n      },\n      \"applications\": {\n        \"includeApplications\": [\"All\"]\n      }\n    },\n    \"grantControls\": {\n      \"operator\": \"OR\",\n      \"builtInControls\": [\"mfa\"]\n    }\n  }'\n\n# Block legacy authentication (critical for security)\ncurl -s -X POST \\\n  -H \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fidentity\u002FconditionalAccess\u002Fpolicies\" \\\n  -d '{\n    \"displayName\": \"Block legacy authentication\",\n    \"state\": \"enabledForReportingButNotEnforced\",\n    \"conditions\": {\n      \"users\": { \"includeUsers\": [\"All\"] },\n      \"applications\": { \"includeApplications\": [\"All\"] },\n      \"clientAppTypes\": [\"exchangeActiveSync\", \"other\"]\n    },\n    \"grantControls\": {\n      \"operator\": \"OR\",\n      \"builtInControls\": [\"block\"]\n    }\n  }'\n```\n\n---\n\n\n## Contents\n\n- [5. SSO Integration Patterns](references\u002Fdetails.md)\n- [6. SCIM Provisioning](references\u002Fdetails.md)\n- [7. MFA Enforcement](references\u002Fdetails.md)\n- [8. Role-Based Access Control](references\u002Fdetails.md)\n- [9. Audit & Compliance](references\u002Fdetails.md)\n- [10. Offboarding](references\u002Fdetails.md)\n- [Quick Reference](references\u002Fdetails.md)\n\n## When to Use This Skill\n\nReach for this skill when:\n\n- **First SSO setup** -- You are moving from individual app logins to centralized authentication.\n- **Compliance audit preparation** -- SOC 2, ISO 27001, or HIPAA requires documented access controls, MFA enforcement, and audit logs.\n- **Team growth inflection** -- You are crossing 15-20 employees and manual onboarding\u002Foffboarding is becoming error-prone.\n- **Vendor security questionnaires** -- Customers are asking about your identity posture and you need to demonstrate controls.\n- **Incident response** -- You need to revoke access quickly across all systems for a departing or compromised user.\n\nSigns you are overdue:\n\n- Shared passwords in a spreadsheet or chat channel.\n- No central audit log of who accessed what and when.\n- Offboarding takes more than one business day.\n- Developers have standing admin access to production.\n\n---\n\n## Limitations\n- GAM SAML\u002Fprovisioning\u002Fenforcement snippets are historical candidates: verify the exact installed variant. `gam print tokens` lists OAuth tokens, not provisioned applications, and does not prove SCIM sync. Use the Workspace Admin Console\u002Fapp-specific provisioning documentation when commands are unsupported. SSO enforcement API fields and MFA policy schemas vary; a successful resource creation does not prove effective enforcement.\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n","# Identity & Access Management for Startups\n\nCentralized identity management is not optional once your team exceeds a handful of people. This skill covers practical, production-ready configurations for SSO, SCIM provisioning, MFA enforcement, and access governance using the three most common identity providers for startups: Google Workspace, Okta, and Azure AD (Entra ID).\n\n---\n\n## Change controls\n\nVerify provider edition, API version, privileged role, target tenant and current command help before writes. SSO, provisioning, MFA and emergency access are separate controls; enrollment is not enforcement. Pilot changes, keep tested recovery access, use report-only policy first, and check effective policy before enforcement. Never put real passwords\u002Ftokens in chat, CSV templates, shell history or logs. Docs-only examples are not validated configurations.\n\n## 2. Google Workspace as Identity Provider\n\nGoogle Workspace is the most common starting IdP for startups. Combined with the GAM CLI tool, it provides powerful automation.\n\n### Install GAM (Google Apps Manager)\n\n```bash\n# Install GAM on Linux\u002FmacOS\n# Obtain a pinned GAM release from its official project, inspect it, and install\n# into an approved environment; do not auto-execute a short-link installer.\n\n# Authorize GAM with your Workspace domain\ngam oauth create\n\n# Verify connection\ngam info domain\n```\n\n### Create Organizational Units\n\nOrganizational units (OUs) control policy inheritance and app access.\n\n```bash\n# Create OUs for team structure\ngam create org \"Engineering\"\ngam create org \"Engineering\u002FBackend\"\ngam create org \"Engineering\u002FFrontend\"\ngam create org \"Operations\"\ngam create org \"Operations\u002FIT\"\ngam create org \"Finance\"\ngam create org \"Contractors\"\n\n# Move a user into an OU\ngam update user alice@company.com org \"Engineering\u002FBackend\"\n\n# List all OUs\ngam print orgs\n```\n\n### Configure a SAML App in Google Workspace\n\n```bash\n# Export the Google IdP metadata (download from Admin Console or use GAM)\n# Admin Console: Apps > Web and mobile apps > Add app > Search for app > Download IdP metadata\n\n# For a custom SAML app, you need:\n# 1. ACS URL (from the service provider)\n# 2. Entity ID (from the service provider)\n# 3. Name ID format (usually EMAIL)\n\n# Example: Add a custom SAML app via Admin Console API\ngam create samlapp \"Internal Dashboard\" \\\n  acs_url \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\" \\\n  entity_id \"https:\u002F\u002Fdashboard.company.com\" \\\n  name_id_format \"EMAIL\" \\\n  name_id \"user.primaryEmail\"\n\n# Assign the app to an OU\ngam update samlapp \"Internal Dashboard\" org \"Engineering\" enabled on\n\n# Verify SAML app status\ngam print samlappinfo \"Internal Dashboard\"\n```\n\n### SCIM Provisioning with Google Workspace\n\n```bash\n# Enable auto-provisioning for supported apps\n# Google Workspace supports automatic user provisioning for apps like:\n# Slack, Zoom, Box, Dropbox, Asana, GitHub Enterprise\n\n# List provisioned apps\ngam print tokens\n\n# Force sync provisioning for an app\ngam sync samlapp \"Slack\" users\n\n# Bulk create users from CSV\n# users.csv format: firstname,lastname,email,org,password\ngam csv users.csv gam create user ~email \\\n  firstname ~firstname lastname ~lastname \\\n  password ~password org ~org \\\n  changepassword on\n```\n\n### Enforce MFA at the Workspace Level\n\n```bash\n# Enforce 2-step verification for the entire domain\ngam update org \"\u002F\" 2sv enforced\n\n# Enforce 2SV for a specific OU\ngam update org \"Engineering\" 2sv enforced\n\n# Set enforcement date (give users time to enroll)\ngam update org \"\u002F\" 2sv enforced enforceddate 2026-04-15\n\n# Check 2SV enrollment status for all users\ngam print users fields isEnforcedIn2Sv,isEnrolledIn2Sv\n\n# Find users who have NOT enrolled in 2SV\ngam print users query \"isEnrolledIn2Sv=false\" fields primaryEmail,name\n```\n\n---\n\n## 3. Okta Setup\n\nCheck current Okta plans and program eligibility; this guide does not establish free-tier availability or pricing.\n\n### Initial Okta Configuration via API\n\n```bash\n# Set your Okta domain and API token\nexport OKTA_ORG_URL=\"https:\u002F\u002Fcompany.okta.com\"\nexport OKTA_API_TOKEN=\"your-api-token\"\n\n# Verify connectivity\ncurl -s -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Forg\" | jq '.companyName'\n\n# Create a user\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fusers?activate=true\" \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Alice\",\n      \"lastName\": \"Engineer\",\n      \"email\": \"alice@company.com\",\n      \"login\": \"alice@company.com\"\n    },\n    \"credentials\": {\n      \"password\": { \"value\": \"TempP@ss123!\" }\n    }\n  }' | jq '.id'\n```\n\n### Create Groups for RBAC\n\n```bash\n# Create groups\nfor group in \"Engineering\" \"Operations\" \"Finance\" \"Contractors\" \"AdminAccess\"; do\n  curl -s -X POST \\\n    -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fgroups\" \\\n    -d \"{\\\"profile\\\": {\\\"name\\\": \\\"${group}\\\", \\\"description\\\": \\\"${group} team group\\\"}}\" \\\n    | jq '{id: .id, name: .profile.name}'\ndone\n\n# Add user to group\nUSER_ID=\"00u1abc123\"\nGROUP_ID=\"00g1def456\"\ncurl -s -X PUT \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fgroups\u002F${GROUP_ID}\u002Fusers\u002F${USER_ID}\"\n```\n\n### Add a SAML Application in Okta\n\n```bash\n# Create a SAML 2.0 application\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fapps\" \\\n  -d '{\n    \"name\": \"custom_saml_app\",\n    \"label\": \"Internal Dashboard\",\n    \"signOnMode\": \"SAML_2_0\",\n    \"settings\": {\n      \"signOn\": {\n        \"defaultRelayState\": \"\",\n        \"ssoAcsUrl\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"audience\": \"https:\u002F\u002Fdashboard.company.com\",\n        \"recipient\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"destination\": \"https:\u002F\u002Fdashboard.company.com\u002Fsaml\u002Facs\",\n        \"subjectNameIdFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\",\n        \"attributeStatements\": [\n          {\n            \"type\": \"EXPRESSION\",\n            \"name\": \"email\",\n            \"namespace\": \"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\",\n            \"values\": [\"user.email\"]\n          },\n          {\n            \"type\": \"EXPRESSION\",\n            \"name\": \"groups\",\n            \"namespace\": \"urn:oasis:names:tc:SAML:2.0:attrname-format:basic\",\n            \"values\": [\"getFilteredGroups({\\\"00g1def456\\\"}, \\\"group.name\\\", 50)\"]\n          }\n        ]\n      }\n    }\n  }' | jq '{id: .id, label: .label, status: .status}'\n\n# Assign group to application\nAPP_ID=\"0oa1xyz789\"\ncurl -s -X PUT \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fapps\u002F${APP_ID}\u002Fgroups\u002F${GROUP_ID}\"\n```\n\n### Okta MFA Policy\n\n```bash\n# Create an MFA enrollment policy requiring WebAuthn + TOTP\ncurl -s -X POST \\\n  -H \"Authorization: SSWS ${OKTA_API_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"${OKTA_ORG_URL}\u002Fapi\u002Fv1\u002Fpolicies\" \\\n  -d '{\n    \"type\": \"MFA_ENROLL\",\n    \"name\": \"Require Strong MFA\",\n    \"status\": \"ACTIVE\",\n    \"settings\": {\n      \"factors\": {\n        \"webauthn\": { \"enroll\": { \"self\": \"REQUIRED\" } },\n        \"google_otp\": { \"enroll\": { \"self\": \"OPTIONAL\" } },\n        \"okta_email\": { \"enroll\": { \"self\": \"NOT_ALLOWED\" } },\n        \"okta_sms\": { \"enroll\": { \"self\": \"NOT_ALLOWED\" } }\n      }\n    }\n  }' | jq '{id: .id, name: .name, status: .status}'\n```\n\n---\n\n## 4. Azure AD \u002F Entra ID\n\nAzure AD (now Microsoft Entra ID) is common at startups using Microsoft 365 or Azure cloud.\n\n### Azure CLI Setup\n\n```bash\n# Install Azure CLI and sign in\naz login\n\n# Select a subscription (this does not independently select the login tenant; use az login --tenant for that)\naz account set --subscription \"your-subscription-id\"\n\n# Verify tenant\naz ad signed-in-user show --query '{name:displayName, email:userPrincipalName}'\n```\n\n### Create Users and Groups\n\n```bash\n# Create a user\naz ad user create \\\n  --display-name \"Alice Engineer\" \\\n  --user-principal-name \"alice@company.onmicrosoft.com\" \\\n  --password \"TempP@ss123!\" \\\n  --force-change-password-next-sign-in true\n\n# Create security groups\nfor group in \"SG-Engineering\" \"SG-Operations\" \"SG-Finance\" \"SG-Admins\"; do\n  az ad group create --display-name \"$group\" --mail-nickname \"$group\"\ndone\n\n# Add user to group\nUSER_OID=$(az ad user show --id \"alice@company.onmicrosoft.com\" --query id -o tsv)\nGROUP_OID=$(az ad group show --group \"SG-Engineering\" --query id -o tsv)\naz ad group member add --group \"$GROUP_OID\" --member-id \"$USER_OID\"\n\n# List group members\naz ad group member list --group \"SG-Engineering\" --query '[].{name:displayName, email:userPrincipalName}' -o table\n```\n\n### Conditional Access Policies via Graph API\n\n```bash\n# Require MFA for all users accessing cloud apps\n# Uses Microsoft Graph API\nACCESS_TOKEN=$(az account get-access-token --resource https:\u002F\u002Fgraph.microsoft.com --query accessToken -o tsv)\n\ncurl -s -X POST \\\n  -H \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fidentity\u002FconditionalAccess\u002Fpolicies\" \\\n  -d '{\n    \"displayName\": \"Require MFA for all users\",\n    \"state\": \"enabledForReportingButNotEnforced\",\n    \"conditions\": {\n      \"users\": {\n        \"includeUsers\": [\"All\"],\n        \"excludeGroups\": [\"'${BREAKGLASS_GROUP_OID}'\"]\n      },\n      \"applications\": {\n        \"includeApplications\": [\"All\"]\n      }\n    },\n    \"grantControls\": {\n      \"operator\": \"OR\",\n      \"builtInControls\": [\"mfa\"]\n    }\n  }'\n\n# Block legacy authentication (critical for security)\ncurl -s -X POST \\\n  -H \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fidentity\u002FconditionalAccess\u002Fpolicies\" \\\n  -d '{\n    \"displayName\": \"Block legacy authentication\",\n    \"state\": \"enabledForReportingButNotEnforced\",\n    \"conditions\": {\n      \"users\": { \"includeUsers\": [\"All\"] },\n      \"applications\": { \"includeApplications\": [\"All\"] },\n      \"clientAppTypes\": [\"exchangeActiveSync\", \"other\"]\n    },\n    \"grantControls\": {\n      \"operator\": \"OR\",\n      \"builtInControls\": [\"block\"]\n    }\n  }'\n```\n\n---\n\n\n## Contents\n\n- [5. SSO Integration Patterns](references\u002Fdetails.md)\n- [6. SCIM Provisioning](references\u002Fdetails.md)\n- [7. MFA Enforcement](references\u002Fdetails.md)\n- [8. Role-Based Access Control](references\u002Fdetails.md)\n- [9. Audit & Compliance](references\u002Fdetails.md)\n- [10. Offboarding](references\u002Fdetails.md)\n- [Quick Reference](references\u002Fdetails.md)\n\n## When to Use This Skill\n\nReach for this skill when:\n\n- **First SSO setup** -- You are moving from individual app logins to centralized authentication.\n- **Compliance audit preparation** -- SOC 2, ISO 27001, or HIPAA requires documented access controls, MFA enforcement, and audit logs.\n- **Team growth inflection** -- You are crossing 15-20 employees and manual onboarding\u002Foffboarding is becoming error-prone.\n- **Vendor security questionnaires** -- Customers are asking about your identity posture and you need to demonstrate controls.\n- **Incident response** -- You need to revoke access quickly across all systems for a departing or compromised user.\n\nSigns you are overdue:\n\n- Shared passwords in a spreadsheet or chat channel.\n- No central audit log of who accessed what and when.\n- Offboarding takes more than one business day.\n- Developers have standing admin access to production.\n\n---\n\n## Limitations\n- GAM SAML\u002Fprovisioning\u002Fenforcement snippets are historical candidates: verify the exact installed variant. `gam print tokens` lists OAuth tokens, not provisioned applications, and does not prove SCIM sync. Use the Workspace Admin Console\u002Fapp-specific provisioning documentation when commands are unsupported. SSO enforcement API fields and MFA policy schemas vary; a successful resource creation does not prove effective enforcement.\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n",{"name":5,"risk":26,"source":44,"license":14,"category":45,"metadata":46,"date_added":49,"description":7,"source_repo":50,"source_type":30,"compatibility":51,"license_source":52},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":47,"version":48},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Requires the relevant OS\u002Fplatform tooling and privileged access where noted. Docs-only; helper scripts and templates not bundled.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-identity-access-management",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add boisenoise\u002Fskills-collections --skill identity-access-management",{"tool":65,"command":66},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill identity-access-management",{"tool":68,"command":69},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill identity-access-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-identity-access-management\u002FSKILL.md",true,[73],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fdetails.md","REFERENCE","参考文档",18490,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-identity-access-management\u002Freferences\u002Fdetails.md",[80,89,97,106,114,122],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":88},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":105},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":105},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":105},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":105},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]