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, 2020 in AWS by akhtar
• 38,210 points
316 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, 2020 by MD
• 95,300 points

Related Questions In AWS

+2 votes
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
12,927 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
• 58,140 points
2,527 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
• 58,140 points
3,072 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How to edit files in the AWS S3 bucket from CLI?

Hi@akhtar, According to my knowledge,  you can't edit ...READ MORE

answered Jun 8, 2020 in AWS by MD
• 95,300 points
2,711 views
0 votes
1 answer

How to configure credentials for IAM user in CLI?

Hi@akhtar, To pass credentials for your IAM user ...READ MORE

answered Jun 10, 2020 in AWS by MD
• 95,300 points
181 views