Hi@akhtar,
You can find one .aws folder in your system. This folder contains two file one is configuration file and another one is credential file. Open your credential file and update your new credentials.
$ vim .aws/credentials
Hope this will help.