Hosting » AWS » How can I see my AWS CLI profile? [2024 Updated Guide]

How can I see my AWS CLI profile? [2024 Updated Guide]

Last updated on February 4, 2024 @ 6:49 pm

AWS CLI profiles allow you to configure AWS services in a specific way, and store the configuration in a profile file. You can use the AWS configure command to create or update a profile.

To see your AWS CLI profile, type the following command in your cmd:

PRO TIP: If you are using the AWS CLI, you can see your profile by running the “aws configure” command. This will show you your current profile, as well as your default region and output format.

aws configure list-profilesaws sts get-caller-identity – -profile (name of the profile you want to view)The output displays your UserId, Account, and Arn.

That’s how easy it is to see your AWS CLI profile.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.