infra-permission-manager

Automate deploy-user IAM permission grants with environment-scoped ARNs and audit logs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/fractary/claude-plugins --skill infra-permission-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-permission-manager
Source: https://github.com/fractary/claude-plugins/tree/main/plugins/faber-cloud/skills/infra-permission-manager
Command: npx skills add https://github.com/fractary/claude-plugins --skill infra-permission-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Bash, aws-cli, jq, and includes scripts (resource) and references (resource) components.

What problem does it solves?

Managing IAM permissions manually is error-prone, complex, and often reactive to deployment failures. This skill automates the process of granting necessary permissions, ensuring least privilege and maintaining a complete audit trail.

Core Features & Use Cases

  • Automated Permission Granting: Automatically grant missing IAM permissions during deployment failures.
  • Audit Trail & Compliance: Maintain a comprehensive audit log of all permission changes for compliance.
  • Profile Separation & Scoping: Enforce strict profile separation and scope permissions to specific environments, preventing over-privileging.
  • Use Case: A deployment failed due to an s3:PutObject permission error in the 'test' environment. Use this skill to automatically grant the missing permission, ensuring it's properly scoped and logged.

Quick Start

Grant 's3:GetObject' permission for the 'test' environment with resource pattern 'arn:aws:s3:::myproject-core-test-*'.

Frequently Asked Questions about infra-permission-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate IAM permission grants when deployments fail due to missing permissions?

Automate IAM permission grants by using environment-scoped permission assignment that detects deployment failures, applies least-privilege access with environment-specific ARNs, and logs every grant to an audit trail. This resolves permission errors without manual intervention while maintaining security controls.

Can I scope IAM permissions to specific environments in AWS deployments?

Yes. Environment-scoped permission grants enforce least-privilege access by restricting IAM permissions to specific environments like test or production. Each permission is tied to environment-specific ARNs, preventing over-privileging across deployment stages.

How do I maintain an audit trail of all IAM permission changes for compliance?

Permission grants are automatically logged in a complete audit trail that records every change, timestamp, and approver. This creates a compliance-ready record of all IAM modifications for security reviews and regulatory requirements.

What's the best way to prevent unauthorized permission escalation in CI/CD pipelines?

Enforce profile separation with explicit approval requirements for production environments and least-privilege scoping. This approach validates that each permission grant is confined to its intended scope and requires human approval before sensitive access is granted.

Does this work with Terraform and AWS CI/CD workflows?

Yes. It integrates with infrastructure deployment workflows including Terraform and CI/CD pipelines by intercepting permission errors and applying scoped grants automatically, ensuring deployments succeed without manual permission fixes.