Last updated
Last updated
With the correct permissions, we can assume an IAM role.
The session name doesn't matter
After setting up the associated access keys with aws configure
we can run this command to set up the session token associated with the role.
Provides a way to search a command's output for certain things.
is another tool that can be used for this.
Query the GroupName attribute that contains VPC
Query the nested IpProtocols attribute that contains -1
Query the Description attribute that is exactly default VPC security group
Query the nested GroupId
attribute that is exactly sg-0494280510832e7b2
Tips and tricks for working with the AWS CLI