Eric Hammond 12/30/2019

Running AWS CLI Commands Across All Accounts In An AWS Organization

Read Original

This technical article details a method for executing AWS CLI commands across every account within an AWS Organization. It explains how to securely generate temporary IAM STS sessions with MFA, assume cross-account IAM roles (like 'admin'), and provides practical bash functions to manage credentials without exposing them in shell history or environment variables.

Running AWS CLI Commands Across All Accounts In An AWS Organization

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser