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 in AWS by akhtar
• 11,270 points
44 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.

answered Apr 27 by MD
• 24,500 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
• 57,530 points
2,465 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,150 points
8,089 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,150 points
601 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

How to update account credentials in aws cli?

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

answered Apr 27 in AWS by MD
• 24,500 points
38 views
0 votes
1 answer

How to create key from aws cli?

Hi@akhtar, You can use the bellow given command ...READ MORE

answered Apr 27 in AWS by MD
• 24,500 points
49 views