본문으로 건너뛰기
Skillpedia
보안22k · #10340

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-privileged-access-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 {#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

  1. Administrators create Entitlements.
  2. Requesters can then request Grants against these entitlements.
  3. If the entitlement is configured with approvals, then an approver must approve the requested grant.
  4. Once all necessary approval steps are completed, the grant is activated for the requested time.
  5. 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 approvalWorkflow whenever 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 to APPROVAL_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 maxRequestDuration according 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 maxRequestDuration as 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬