After installed aws in mac, need to run aws configure to do the configuration, if you met permission denied problems, please run below cmd to fix:
sudo chown $(whoami) ~/.aws/credentials
You'll probably also need to do the same thing for ~/.aws/config
as well
If that file exists