I was connected to a public WIFI hotspot and I executed this command:
aws ec2 describe-instances
and it successfully returned all my EC2 instance information.(since I have my AWS Access Key / Secret Key configured in my local machine)
To prepare for the worst, let us assume this public wifi is not safe and hacked, now does my action above expose the AWS Access Key / Secret Key?
P.S. If on public WIFI, I only visit HTTPS websites, is there still any security risks regarding my credentials to these websites?