iam-helper-for-privileged-access-management
하는 일
이 스킬은 영구 역할을 주는 대신 Google Cloud에서 기한이 있는 접근을 설정하고 운영합니다. 잠깐 동안만 높은 권한이 필요한 관리자와 직원을 위한 스킬입니다.
사용하는 경우
- ✓Privileged Access Manager 자격 요건을 만들거나 바꾸고 싶을 때.
- ✓Google Cloud 리소스에 대한 임시 접근을 요청해야 할 때.
- ✓대기 중인 접근 요청을 승인하거나 거부해야 할 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-privileged-access-management/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“개발자가 승인을 거쳐 두 시간 동안 데이터베이스 관리자 접근을 요청할 수 있도록 Privileged Access Manager 자격 요건을 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
자격 요건 설정, 접근 요청, 승인에 대해 계획, 검증, 실행의 순서로 진행합니다. 변경은 적용 전에 확인받도록 보여 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Privileged Access Manager (PAM)
This skill provides step-by-step guidance for planning, validating, and executing Privileged Access Manager (PAM) entitlement CRUD operations, approval workflow configurations, access elevations, and grant approval/denial workflows.
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Table of Contents
- Core Concepts
- Approval Workflows & Max Request Duration
- Safety & Confirmation Strategy
- Plan-Validate-Execute Pattern
- Mode 1: Interactive Access Elevation
- Mode 2: Standalone Entitlement CRUD
- Mode 3: Approver Workflow
- Supporting Links & Resources
Core Concepts {#core-concepts}
Privileged Access Manager (PAM) replaces permanent or ambient IAM role assignments with on-demand, time-bound, and audited access elevations. Rather than appending permanent IAM policy bindings, PAM uses:
- Entitlements: Configurations defining access scopes, eligible requesters, and approvers.
- Grants: Short-lived requests created against entitlements to activate the entitlement's IAM roles.
Privileged Access (privilegedAccess)
The privilegedAccess block in an entitlement defines the precise access scope that will be granted. An access scope comprises three essential components:
- Resource: The target Google Cloud resource (Project, Folder, or Organization) where access is granted.
- Role Setup: The IAM role (
roleBindings.role) to be assigned. - Condition: (Optional) An IAM condition expression (
roleBindings.conditionExpression) restricting when or where the role applies.
Core Workflow
- Administrators create Entitlements.
- Requesters can then request Grants against these entitlements.
- If the entitlement is configured with approvals, then an approver must approve the requested grant.
- Once all necessary approval steps are completed, the grant is activated for the requested time.
- The grant automatically ends after the requested duration has elapsed, and the elevated access is removed.
Approval Workflows & Max Request Duration {#approval-workflows}
Approval Workflows (approvalWorkflow)
When sensitive environments require human approval before temporary access is
activated, configure the approvalWorkflow block in the entitlement YAML
manifest (entitlement.yaml).
approvalWorkflow:
manualApprovals:
# Optional: requires approver to supply a justification string
requireApproverJustification: true
steps:
- approvalsNeeded: 1
approverEmailRecipients:
- approver@example.com
approvers:
- principals:
- user:db-lead@my-company.com # or group:sre-leads@my-company.com
- When to include: Include
approvalWorkflowwhenever the user prompt specifies that manual approval or an approver (user or group) is required. - Outcome: When a user requests a grant against an entitlement
with
approvalWorkflow, the grant transitions toAPPROVAL_AWAITED. Requesters must await an Approver's decision (Mode 3).
Max Request Duration (maxRequestDuration)
maxRequestDuration defines the maximum single access elevation timeframe a requester
may ask for when placing a grant request.
- Flexible Configuration: Configure
maxRequestDurationaccording to the user's specific request (e.g.8 hours/28800s,1 hour/3600s,24 hours/86400s). - Default Value: If the user does NOT specify a maximum request duration,
default to
4 hours(14400s). - YAML Syntax: Always format
maxRequestDurationas a string in seconds in the entitlement YAML (e.g.,"14400s","28800s").
Safety & Confirmation Strategy {#safety-confirmation}
Adhere strictly to these workflow guards:
- Modifying / Destructive Executions (Create, Update, Delete, Approve, Deny, Revoke): Always present a plain-text summary of the planned adjustments and prompt the user for explicit confirmation (Yes/No).
- Read-Only Inspections (List, Describe, Search): Run autonomously without requesting confirmation.
- Batching Bash Commands (Reduce User Confirmations): The host environment requires us
자주 묻는 질문
영구 접근을 주나요?
아닙니다. 필요할 때 요청하고 자동으로 만료되는 기한부 접근을 위한 것입니다.
승인 단계가 필요한가요?
자격 요건에 승인이 필요할 수 있으며, 스킬은 승인자 흐름을 다룹니다.
일반 IAM 오류도 해결하나요?
아닙니다. IAM 문제 해결은 별도 스킬이 맡습니다.
상세 정보
작성자의 원본 설명
Manages the end-to-end lifecycle of on-demand, temporary access using Privileged Access Manager (PAM). Use when a user asks to create, read, update, or delete PAM entitlements, request temporary access, or approve/deny pending PAM grants. Do NOT use for permanent IAM policy bindings, troubleshooting IAM permission errors, or general Google Cloud resource provisioning.
repo: google/skills
인기도
- GitHub 스타
- 22k
- 순위
- #10340
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.