User Tools

Site Tools


wiki:aws_cli_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:aws_cli_commands [2025/03/26 14:31] – [List all Elastic Kubernetes Clusters] fix indent antisawiki:aws_cli_commands [2025/03/26 14:36] (current) – add Iterate over all aws profiles and run command antisa
Line 19: Line 19:
   done   done
  
 +===== Iterate over all aws profiles and run command =====
 +You need to have [[https://github.com/99designs/aws-vault|aws-vault]] set up first for this to work.
 +
 +Example of listing kinesis streams:
 +  for profile in $(aws configure list-profiles);do echo "========= $profile =========";AWS_PAGER="" aws-vault exec $profile -- aws kinesis list-streams;done
  
 ====== Tested on ====== ====== Tested on ======
wiki/aws_cli_commands.txt · Last modified: 2025/03/26 14:36 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki