Bird
0
0

Which file stores AWS access keys for different profiles by default?

easy📝 Configuration Q12 of 15
AWS - CLI
Which file stores AWS access keys for different profiles by default?
A~/.aws/config
B~/.aws/credentials
C/etc/aws/keys
D~/.aws/access
Step-by-Step Solution
Solution:
  1. Step 1: Recall default AWS credential file

    AWS stores access keys in the file named 'credentials' inside the '.aws' folder in your home directory.
  2. Step 2: Differentiate from config file

    The 'config' file stores settings like region and output format, not keys.
  3. Final Answer:

    ~/.aws/credentials -> Option B
  4. Quick Check:

    Access keys = ~/.aws/credentials [OK]
Quick Trick: Access keys live in ~/.aws/credentials file [OK]
Common Mistakes:
MISTAKES
  • Mixing up config and credentials files
  • Using wrong file paths
  • Assuming keys are in system folders

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes