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,230 points
1,847 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,440 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,170 points
18,940 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,090 points
5,388 views
–1 vote
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,090 points
4,828 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,440 points
8,894 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,440 points
447 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP