How to configure aws cli

0 votes

Hi Guys,

I installed aws cli in my system. But how can I configure it in my system, so that it can connect to my aws account remotely?

Apr 27, 2020 in AWS by akhtar
• 38,260 points
647 views

1 answer to this question.

0 votes

Hi@akhtar,

After installing aws cli in your system, you have to configure your account credentials in your local system. To do that follow the below given steps.

  • Log in to your aws account.

  • Go to my security credentials.

  • Generate access key and save this.

  • Now in your local system run the below command and set credentials accordingly.

[root@vm1 ~]# aws configure
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:

Hope this will help.

Enroll today to become the AWS Solutions Architect!

answered Apr 27, 2020 by MD
• 95,460 points

Related Questions In AWS

+1 vote
3 answers

How to get ARN for s3 Bucket using aws cli .

An ARN is a non-opaque, constructible identifier, ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 58,020 points
5,685 views
0 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
19,883 views
0 votes
1 answer

How to use AWS CLI with Elastic Beanstalk?

You have to create a source bundle ...READ MORE

answered Sep 28, 2018 in AWS by Archana
• 4,170 points
2,211 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
6,006 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,231 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How to configure AWS CLI on top of Docker?

Hi@akhtar, The official AWS CLI version 2 Docker ...READ MORE

answered Nov 6, 2020 in AWS by MD
• 95,460 points
1,197 views
0 votes
1 answer

How to update account credentials in aws cli?

Hi@akhtar, You can find one .aws folder in ...READ MORE

answered Apr 27, 2020 in AWS by MD
• 95,460 points
2,219 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