managing-cloud-identity-with-okta
This skill covers implementing Okta as a centralized identity provider for cloud environments, configuring SSO integration with AWS, Azure, and GCP, deploying phishing- resistant MFA with Okta FastPass, managing lifecycle automation for user provisioning and deprovisioning, and enforcing adaptive access policies based on device posture and risk signals.
What this skill does
# Managing Cloud Identity with Okta
## When to Use
- When centralizing authentication across AWS, Azure, and GCP console access through a single identity provider
- When implementing phishing-resistant MFA to replace SMS or TOTP-based authentication
- When automating user provisioning and deprovisioning across cloud platforms and SaaS applications
- When enforcing adaptive access policies based on device compliance, user risk, and network context
- When auditing identity-related security controls for SOC 2 or zero trust compliance
**Do not use** for cloud-native identity management without external IdP requirements (use AWS IAM Identity Center or Azure AD natively), for application-level authorization logic, or for secrets management (see implementing-secrets-management-with-vault).
## Prerequisites
- Okta organization with admin console access and appropriate license tier (Workforce Identity)
- AWS, Azure, and GCP accounts configured for SAML or OIDC federation
- Okta Universal Directory populated with user identities synced from HR system or Active Directory
- Device management platform (Intune, Jamf) for device trust integration
## Workflow
### Step 1: Configure SSO Integration with Cloud Providers
Set up SAML 2.0 or OIDC federation between Okta and each cloud provider console for centralized authentication.
```
Okta AWS SSO Integration (SAML 2.0):
1. In Okta Admin Console: Applications > Add Application > AWS Account Federation
2. Configure SAML settings:
- Single Sign-On URL: https://signin.aws.amazon.com/saml
- Audience URI: urn:amazon:webservices
- Attribute Statements:
- https://aws.amazon.com/SAML/Attributes/RoleSessionName -> user.email
- https://aws.amazon.com/SAML/Attributes/Role -> appuser.awsRoles
3. Download Okta metadata XML
4. In AWS IAM: Create Identity Provider (SAML) with Okta metadata
5. Create IAM roles with trust policy referencing the Okta SAML provider
AWS IAM Trust Policy:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::123456789012:saml-provider/Okta"
},
"Action": "sts:AssumeRoleWithSAML",
"Condition": {
"StringEquals": {
"SAML:aud": "https://signin.aws.amazon.com/saml"
}
}
}]
}
```
```bash
# Azure AD integration via OIDC
# Configure Okta as external IdP in Azure AD
az ad sp create --id <okta-app-client-id>
# GCP integration via Workforce Identity Federation
gcloud iam workforce-pools create okta-pool \
--organization=123456789 \
--location=global \
--display-name="Okta Workforce Pool"
gcloud iam workforce-pools providers create-oidc okta-provider \
--workforce-pool=okta-pool \
--location=global \
--issuer-uri="https://company.okta.com/oauth2/default" \
--client-id="gcp-workforce-client-id" \
--attribute-mapping="google.subject=assertion.sub,google.groups=assertion.groups"
```
### Step 2: Deploy Phishing-Resistant MFA
Enable Okta FastPass and FIDO2 WebAuthn authenticators as phishing-resistant MFA factors. Configure policies requiring these factors for privileged cloud access.
```
Okta MFA Policy Configuration:
1. Security > Authenticators:
- Enable Okta Verify (FastPass) - Phishing resistant
- Enable FIDO2 (WebAuthn) - Hardware security keys
- Disable SMS and Voice (phishable)
2. Authentication Policies > Cloud Admin Access:
- Rule: "Require phishing-resistant MFA for AWS/Azure/GCP admin roles"
- Factor Types: Okta FastPass OR FIDO2 WebAuthn
- Re-authentication: Every 4 hours for admin consoles
- Session Lifetime: 8 hours maximum
3. Device Trust Policy:
- Require managed device for cloud admin access
- Require device encryption enabled
- Require OS version within 90 days of latest
```
### Step 3: Automate User Lifecycle Management
Configure SCIM provisioning to automatically create and deactivate user accounts in cloud services when employees join, change roles, or leave the organization.
```
Okta Lifecycle Management:
1. Provisioning Configuration (AWS IAM Identity Center):
- Enable SCIM provisioning to AWS IAM Identity Center
- Map Okta groups to AWS permission sets
- Configure attribute mapping: email, displayName, groups
2. Automation Rules:
- On User Activation: Provision to AWS, Azure, GCP based on department group
- On Group Change: Update cloud role assignments within 15 minutes
- On User Deactivation: Immediately revoke all cloud sessions and permissions
- On Suspension: Disable cloud accounts, preserve data for 30 days
3. Offboarding Workflow:
- HR triggers deactivation in Workday/BambooHR
- Okta receives SCIM event, deactivates user in Universal Directory
- All SSO sessions terminated across AWS, Azure, GCP
- SCIM deprovisioning removes user from cloud platforms
- Audit log entry created for compliance evidence
```
### Step 4: Configure Adaptive Access Policies
Create context-aware authentication policies that evaluate risk signals including device posture, network location, user behavior, and threat intelligence.
```
Adaptive Access Policy Examples:
Policy 1: "High-Risk Cloud Admin Access"
IF: User is in "Cloud Admins" group
AND: Accessing AWS Console, Azure Portal, or GCP Console
THEN:
- Require phishing-resistant MFA (FastPass or FIDO2)
- Require managed and compliant device
- Block access from anonymous proxies or Tor
- Session duration: 4 hours
- Re-authentication: Every 2 hours for sensitive actions
Policy 2: "Standard Cloud Developer Access"
IF: User is in "Developers" group
AND: Accessing non-admin cloud resources
THEN:
- Require any MFA factor (FastPass, TOTP, or push notification)
- Allow unmanaged devices with step-up verification
- Session duration: 8 hours
- Block access from countries outside operating regions
Policy 3: "Emergency Break-Glass Access"
IF: User is in "Emergency Admins" group
AND: Break-glass request approved in ServiceNow
THEN:
- Require FIDO2 hardware key only
- Log all actions to immutable audit trail
- Session duration: 1 hour maximum
- Notify SOC team via automated alert
```
### Step 5: Monitor Identity Threats with Okta ThreatInsight
Enable Okta ThreatInsight and system log monitoring to detect credential stuffing, account takeover, and suspicious authentication patterns.
```bash
# Query Okta System Log for security events via API
curl -s -H "Authorization: SSWS ${OKTA_API_TOKEN}" \
"https://company.okta.com/api/v1/logs?filter=eventType+eq+%22user.session.start%22+and+outcome.result+eq+%22FAILURE%22&since=$(date -d '-24 hours' +%Y-%m-%dT%H:%M:%SZ)" | \
jq '.[] | {time: .published, actor: .actor.displayName, ip: .client.ipAddress, result: .outcome.reason}'
# Export Okta logs to SIEM via Log Streaming
# Configure in Okta Admin > Reports > Log Streaming
# Supported targets: Splunk Cloud, AWS EventBridge, Datadog
```
## Key Concepts
| Term | Definition |
|------|------------|
| Okta FastPass | Phishing-resistant passwordless MFA that cryptographically binds authentication to the device and origin, preventing real-time phishing attacks |
| SCIM Provisioning | System for Cross-domain Identity Management protocol that automates user creation, update, and deletion across cloud applications |
| Universal Directory | Okta's cloud-based identity store that aggregates user profiles from multiple sources including AD, LDAP, and HR systems |
| Adaptive MFA | Context-aware authentication that adjusts MFA requirements based on risk signals such as device trust, location, and behavior |
| Workforce Identity | Okta product tier focused on employee and contractor identity management including SSO, MFA, and lifecycle management |
| ThreatInsight | Okta's threat detection service that identifies and blocks credential stuffing, password spraying, and bot-driven authentication attacks |
| Device Trust | Integration with MDM platforms to verify device compliance (encryption, OS versiRelated in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.