Run AWS CLI directly from the agent shell
Your agent can now use the regular shell to run AWS CLI commands, not just the built-in inventory reads.
How to use it
- Open Connections → AWS CLI in an enabled private session and sign in to AWS.
- Confirm the account and role, then select Allow the agent to run AWS CLI before connecting.
- Ask the agent to run an AWS task, such as summarizing running EC2 instances by type.
Good to know
- Use a trusted workspace and a least-privilege role. Shell processes can access temporary credentials, and AWS IAM determines what they can do.
- Disconnect stops new shell commands from receiving the credentials. AWS controls when already-issued credentials expire.