跳到正文
Skillpedia
安全35k · #8155

managing-cloud-identity-with-okta

它能做什么

这个工具可以通过名为 Okta 的统一安全入口,帮你管理谁可以访问你的云系统(例如 AWS、Google Cloud 和 Microsoft Azure)。它还通过额外的身份验证提高安全性,并确保用户账号能够自动创建和注销。

适用场景

  • ✓当你希望用一个账号登录多个云服务时。
  • ✓当你需要比单纯使用密码和短信验证码更安全的登录方式时。
  • ✓当你希望新员工的访问账号能自动开通,员工离职后能自动停用时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/managing-cloud-identity-with-okta/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/managing-cloud-identity-with-okta/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我设置 Okta,让我可以用单点登录和双因素认证访问 AWS、Azure 和 Google Cloud。”

每周 5 个新技能,1 分钟读完。

工作原理

Okta 会连接你的云服务,管理谁可以登录。它会根据规则判断登录是否安全,必要时要求额外验证(例如在手机上确认),并自动管理账号。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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"
      }
    }
  }]
}
# 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

…
常见问题

什么是 SSO?

SSO 即“单点登录”(Single Sign-On),让你只用一套凭据(用户名和密码)就能访问多个应用和服务。

什么是 MFA?

MFA 即“多因素认证”(Multi-Factor Authentication),它要求用多种方式验证身份,例如输入密码,再输入手机上的验证码,从而增加一层安全保护。

什么是“账号开通与回收”(provisioning)?

这是指在不同系统之间创建、管理和删除用户账号及权限的过程。实现自动化后,员工入职或离职时,账号可以无需人工操作,自动创建或停用。

详情

作者的原始描述

Implement Okta as a centralized cloud identity provider: configure SSO with AWS, Azure, and GCP, deploy phishing-resistant MFA with Okta FastPass, automate user provisioning/deprovisioning, and enforce adaptive access policies on device posture and risk signals. Use when standing up Okta SSO, rolling out FastPass MFA, automating identity lifecycle, or building risk-based conditional access for clo

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8155
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能