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,260 points
2,191 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,460 points

Related Questions In AWS

+2 votes
1 answer

How to Use Amazon AWS Credentials to Access/Query Tables in AWS RDS Instance through Mobile App

You should make your backend functions to ...READ MORE

answered Aug 28, 2018 in AWS by Priyaj
• 58,020 points
1,259 views
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
19,855 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,020 points
5,958 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,020 points
5,204 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,460 points
9,685 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,460 points
731 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