Articles → AWS → Config And Credential Files In AWSConfig And Credential Files In AWSIn this article, we will discuss config and credential files on the local system.Purpose The config file stores the region of the user. The credential file stores the access and secret key of the user.Example In this example, we will create 2 users.Click to EnlargeNow, configure the CLI using the credentials of the first user i.e., test.Click to EnlargeThe config and credential files are changed.Click to EnlargeAgain, configure AWS CLI using the other user’s credentials.Click to EnlargeThe config and credential files are changed as per the new user.Click to EnlargeFile’s Locations Both files are stored at the following location.c:\users\<username>\.aws\credentialsPosted By - Karan Gupta Posted On - Wednesday, June 8, 2022 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
c:\users\<username>\.aws\credentials
Query/Feedback