[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P6MFG17E79V9B7M4TEEJRV":3,"skill-same:01M6P6MFG17E79V9B7M4TEEJRV":77},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":28,"commitSha":52,"skillDirectory":53,"forksCount":13,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M6P6MFG17E79V9B7M4TEEJRV","identity-access-management",null,"Set up and manage SSO, SCIM provisioning, and MFA for startup teams using Google Workspace, Okta, or Azure AD.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fidentity-access-management\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"identity access management","identity","access","management","only","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## 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\ncurl -s -S -L https:\u002F\u002Fgam-shortn.appspot.com\u002Fgam-install -o \u002Ftmp\u002Fgam-install.sh && bash \u002Ftmp\u002Fgam-install.sh && rm \u002Ftmp\u002Fgam-install.sh\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\nOkta offers a free tier for startups (Okta for Startups program -- up to 100 users) making it an excellent choice for teams that need a dedicated IdP.\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# Set the default tenant\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\": \"enabled\",\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\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## 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\ncurl -s -S -L https:\u002F\u002Fgam-shortn.appspot.com\u002Fgam-install -o \u002Ftmp\u002Fgam-install.sh && bash \u002Ftmp\u002Fgam-install.sh && rm \u002Ftmp\u002Fgam-install.sh\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\nOkta offers a free tier for startups (Okta for Startups program -- up to 100 users) making it an excellent choice for teams that need a dedicated IdP.\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# Set the default tenant\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\": \"enabled\",\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\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":25,"source":43,"license":14,"category":44,"metadata":45,"date_added":48,"description":7,"source_repo":49,"source_type":29,"compatibility":50,"license_source":51},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":46,"version":47},"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","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fidentity-access-management","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill identity-access-management",{"tool":63,"command":64},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill identity-access-management",{"tool":66,"command":67},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill identity-access-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fidentity-access-management\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fdetails.md","REFERENCE","参考文档",17938,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fidentity-access-management\u002Freferences\u002Fdetails.md",[78,101,125,150,178,202],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":89,"publishedAt":38},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[84],{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[90,91,92,93,94,95,80,96,32,20,97,22,29,28,98,25,99,24,23,100],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","configure","active","scope","implementing",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":38},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,117,118,119,120,22,121,29,122,123,25,124],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":38},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[132,133,134,135,136,137,138,139,140,141,142,143,144,29,28,145,146,147,148,149],"transcript","youtube transcript","youtube","safe","github","codex","research","license","https","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts","blob",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":167,"publishedAt":38},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[156,159,162],{"categoryNo":157,"categoryName":158,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":160,"categoryName":161,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":163,"categoryName":164,"taxonomyType":165,"taxonomyTypeDesc":166},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[132,133,134,168,135,169,136,137,139,170,171,172,173,142,174,29,28,175,176,177],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":188,"publishedAt":38},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[184,187],{"categoryNo":185,"categoryName":186,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":160,"categoryName":161,"taxonomyType":87,"taxonomyTypeDesc":88},[134,189,190,112,135,191,192,193,194,139,172,195,196,197,198,28,199,145,200,201],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":209,"publishedAt":38},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[208],{"categoryNo":157,"categoryName":158,"taxonomyType":87,"taxonomyTypeDesc":88},[210,134,211,31,135,169,170,212,213,171,172,173,142,214,174,29,28,175,215,148],"youtube full","full","server","dlp","credits","automatic"]