I configured AWS provider in Terraform by providing an access key and secret as environment variables according to the documentation:
$ export AWS_ACCESS_KEY_ID="anaccesskey"
$ export AWS_SECRET_ACCESS_KEY="asecretkey"
I now want to view those variables on the console as well as other environment variables configured on my system but I can't find the right command.
Update: I found out that I didn't configure the AWS provider like I thought. The AWS CLI was already configured with my credentials stored in AWS credentials file: ~/.aws/credentials
.