Zum Inhalt springen
Skillpedia
Sicherheit22k · #10340

iam-helper-for-privileged-access-management

Was er macht

Dieser Skill richtet zeitlich begrenzten Zugriff auf Google Cloud ein und betreibt ihn, statt dauerhafte Rollen zu vergeben. Er ist für Admins und Mitarbeitende gedacht, die nur kurz erhöhte Rechte brauchen.

Wann du ihn nutzt

  • ✓Wenn du eine Privileged Access Manager Berechtigung anlegen oder ändern möchtest.
  • ✓Wenn du befristeten Zugriff auf eine Google Cloud Ressource anfragen musst.
  • ✓Wenn eine offene Zugriffsanfrage genehmigt oder abgelehnt werden muss.

Link zum Skill

https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-privileged-access-management/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-privileged-access-management/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Richte eine Privileged Access Manager Berechtigung ein, damit Entwickler zwei Stunden lang Datenbank Admin Zugriff mit Genehmigung anfragen können.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er führt dich durch die Schritte Planen, Prüfen und Ausführen für die Einrichtung von Berechtigungen, Zugriffsanfragen und Freigaben. Änderungen werden vor dem Ausführen zur Bestätigung angezeigt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Gewährt er dauerhaften Zugriff?

Nein. Er ist für Zugriff auf Abruf mit Zeitlimit gedacht, der automatisch abläuft.

Braucht er einen Freigabeschritt?

Berechtigungen können eine Genehmigung verlangen, und der Skill deckt die Abläufe für Genehmiger ab.

Behebt er allgemeine IAM Fehler?

Nein. IAM Fehler werden von einem eigenen Skill behandelt.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
22k
Platz im Ranking
#10340
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills