aws-auth

Automate AWS authentication with saml2aws and validate credentials via AWS STS.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kentoku24/project-guild --skill aws-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-auth
Source: https://github.com/kentoku24/project-guild/tree/main/docs/skills/aws-auth
Command: npx skills add https://github.com/kentoku24/project-guild --skill aws-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires saml2aws, awscli.

What problem does it solve?

AWS認証をsaml2awsで自動化することで、Dev・Stg・PRD環境への認証をスムーズに行い、期限切れトークンや認証エラーを減らします。

Core Features & Use Cases

  • 環境別の saml2aws プロファイルへの切り替えと自動ログイン
  • MFAをバックグラウンドで処理し、認証完了までの待機を最小化
  • Terraform plan/apply前の認証確認とAWS STSの認証検証

Quick Start

AWS認証を開始する環境を指定して aws-auth スキルを実行してください。

Frequently Asked Questions about aws-auth

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

FAQPage Schema
How do I automate AWS authentication with saml2aws across dev, stg, and prd environments?

Automating AWS authentication with saml2aws involves switching to the correct profile for dev, stg, or prd environments, processing MFA in the background, and validating credentials with AWS STS.

Why does my Terraform plan fail with expired AWS CLI tokens and how can I fix it?

Terraform plan fails when AWS CLI tokens expire. Fix this by running an automated saml2aws login to obtain valid credentials, which are then verified through AWS STS before executing infrastructure commands.

Do I need saml2aws and AWS CLI installed to handle MFA background processing for AWS?

Yes, saml2aws and AWS CLI must be installed. The saml2aws tool processes MFA in the background to obtain valid credentials, which are then validated using AWS STS to confirm successful authentication.

What is the best way to switch saml2aws profiles for different AWS environments?

The best way to switch saml2aws profiles is to specify the target dev, stg, or prd environment when initiating authentication. The process automatically logs in with the correct profile and validates it via AWS STS.

How does AWS STS credential validation work after saml2aws login?

AWS STS credential validation works by calling the service after saml2aws completes its background MFA login. STS verifies the obtained credentials are valid and reports a successful authentication status back to the user.