How to update account credentials in aws cli?

0 votes

Hi Guys,

I installed aws cli in my system and also configured account credentials in my system. But recently I change my account credentials. How can I update my new credentials in my local system? 

Apr 27 in AWS by akhtar
• 11,270 points
38 views

1 answer to this question.

0 votes

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.

answered Apr 27 by MD
• 24,500 points

Related Questions In AWS

+1 vote
1 answer
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
8,088 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 57,530 points
774 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 57,530 points
1,554 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer