After you run aws configure and set the credentials the content is stored in a file named credentials that resides inside .aws folder.
aws configure
You can run cat .aws/credentials command to see the required data.
cat .aws/credentials