granted

Assume AWS roles and export credentials to environment variables or .env files.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/zach-source/claude-plugins --skill granted
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: granted
Source: https://github.com/zach-source/claude-plugins/tree/main/plugins/devops/skills/granted
Command: npx skills add https://github.com/zach-source/claude-plugins --skill granted

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of assuming AWS roles and managing multi-account access, eliminating manual configuration and authentication hurdles.

Core Features & Use Cases

  • AWS Role Assumption: Easily assume AWS profiles for development, staging, or production environments.
  • Console Access: Open the AWS console directly for a specific profile and service.
  • Credential Export: Export temporary credentials to environment variables or .env files for programmatic use.
  • Use Case: When you need to deploy a new feature to the production AWS account, use this Skill to quickly assume the prod-admin role and open the EC2 console to monitor the deployment.

Quick Start

Assume the AWS profile named 'my-dev-profile' and verify your identity.

Frequently Asked Questions about granted

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

FAQPage Schema
How do I assume an AWS role for a different account using the command line?

You can assume an AWS role by using this Skill to select an interactive profile or specify a direct profile name via the Granted CLI. It handles the temporary credential retrieval and multi-account session management automatically.

Can I export temporary AWS credentials to an environment file for programmatic access?

Yes, you can export temporary AWS credentials directly to environment variables or a `.env` file. This provides programmatic access for your applications without requiring manual key entry or hardcoding sensitive authentication information.

How do I open the AWS console directly to a specific service and region?

You can open the AWS console directly by assuming a specific profile and specifying the desired service and region. This feature bypasses the standard web login process and navigates you straight to the required service dashboard.

Does this AWS role assumption approach work for managing access across multiple accounts?

Yes, this Skill specifically addresses multi-account access management by allowing you to seamlessly switch between development, staging, and production AWS profiles. It relies on the Granted CLI framework to manage these concurrent sessions.

What is the best way to streamline AWS authentication for frequent environment switching?

The best way to streamline AWS authentication is using this Skill to assume profiles interactively and export credentials. It removes manual configuration hurdles when switching between environments like staging and production.