managing-cloud-identity-with-okta
Skill này làm gì
Công cụ này giúp kiểm soát ai có thể truy cập các hệ thống đám mây của bạn (như AWS, Google Cloud và Microsoft Azure) thông qua một điểm truy cập bảo mật duy nhất gọi là Okta. Nó cũng tăng cường bảo mật bằng xác thực bổ sung và bảo đảm tài khoản người dùng được tạo và gỡ bỏ tự động.
Khi nào nên dùng
- ✓Khi bạn muốn dùng một lần đăng nhập để truy cập nhiều dịch vụ đám mây.
- ✓Khi bạn cần cách đăng nhập an toàn hơn chỉ dùng mật khẩu và SMS.
- ✓Khi bạn muốn tài khoản truy cập được tạo và vô hiệu hóa tự động cho nhân viên mới hoặc khi ai đó nghỉ việc.
Liên kết skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/managing-cloud-identity-with-okta/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy thiết lập Okta để tôi có thể đăng nhập vào AWS, Azure và Google Cloud bằng đăng nhập một lần và xác thực hai yếu tố.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Okta kết nối với các dịch vụ đám mây của bạn để quản lý ai được vào. Nó dùng các quy tắc để quyết định một lần đăng nhập có an toàn không, yêu cầu xác thực bổ sung (như trên điện thoại) nếu cần, và bảo đảm tài khoản được quản lý tự động.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
…
Câu hỏi thường gặp
SSO là gì?
SSO là viết tắt của “Single Sign-On”, tức đăng nhập một lần. Nó cho phép bạn truy cập nhiều ứng dụng và dịch vụ chỉ với một bộ thông tin đăng nhập (tên người dùng và mật khẩu).
MFA là gì?
MFA là viết tắt của “Multi-Factor Authentication”, tức xác thực đa yếu tố. Đây là lớp bảo mật bổ sung yêu cầu nhiều cách để xác minh danh tính, như mật khẩu và mã từ điện thoại.
“Provisioning” là gì?
Provisioning là quá trình tạo, quản lý và gỡ bỏ tài khoản người dùng và quyền hạn trên nhiều hệ thống khác nhau. Tự động hóa việc này nghĩa là tài khoản được tạo hoặc vô hiệu hóa mà không cần thao tác thủ công khi ai đó gia nhập hoặc rời công ty.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 35k
- Vị trí xếp hạng
- #8155
- Giấy phép
- Apache-2.0
- Cập nhật
- 31/8/2026
Bình luận
- …
Thêm skill từ kho mã này
abusing-dpapi-for-credential-access
35kCung cấp cho agent AI của bạn hướng dẫn có sẵn cho một tác vụ cụ thể, giúp nó làm việc tốt hơn và nhanh hơn.
abusing-shadow-credentials-for-privesc
35kDạy agent AI của bạn viết văn bản rõ ràng và có cấu trúc tốt.
achieving-cmmc-level-2-compliance
35kGiúp agent của bạn chuẩn bị môi trường để tuân thủ CMMC Level 2. Triển khai các yêu cầu bảo mật và quản lý tài liệu cần thiết.
acquiring-disk-image-with-dd-and-dcfldd
35kGiúp agent của bạn tạo bản sao chính xác của ổ đĩa. Cách này đảm bảo không mất hay thay đổi thông tin trong quá trình điều tra.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.