AWS node JS Creating AWS credential file

0 votes
I am at using AWS SDK for JavaScript. For that I need to create a credential file.

Somehow, I can’t create this file as described for Windows. On Windows systems I am supposed to save the files here: C:\Users\USERNAME\.aws\credentials.

I am having difficulty creating a path for .aws.

Also ruining npm install aws-sdk --save as indicated on the resource page, there are no such folders created for me to add the file.

Is there a way to achieve this?
May 11, 2018 in Cloud Computing by code_ninja
• 6,290 points
913 views

1 answer to this question.

0 votes

Yes, you may either do this automatically or manually, let’s look at it one by one:

Lets us first see how to do this automatically:

You need AWS CLI install those to get an access to running AWS commands from the command line. For a windows machine, you need to open up CMD prompt and run the following command:

aws configure

Provide Access Key ID and Secret Access Key as well as your preferred region and data type.

 It will create the .aws/credentials file for you.

To do it manually

You need Open CMD in the C:\Users\USERNAME directory (should be default)

Run the following command in CMD: mkdir .aws

Create the credentials file and add your credentials manually

answered May 11, 2018 by Meci Matt
• 9,460 points

Related Questions In Cloud Computing

+4 votes
7 answers

Creating Amazon Web Service (AWS) account (trial version) without giving up credit card details

Unfortunately, you can’t create an account on ...READ MORE

answered Mar 30, 2018 in Cloud Computing by brat_1
• 7,200 points
18,048 views
+1 vote
3 answers

AWS EC2: Is it possible to edit httpd.conf file in

It would be prompting you a alert, ...READ MORE

answered Aug 17, 2018 in Cloud Computing by Priyaj
• 58,090 points
2,588 views
+1 vote
2 answers

AWS: s3 file downloads not working in Chrome specifically

The canonical Internet media type for a PDF document ...READ MORE

answered Sep 4, 2018 in Cloud Computing by eatcodesleeprepeat
• 4,710 points
8,068 views
0 votes
0 answers

how to install python node js gcc using ansible

Sep 7, 2019 in Cloud Computing by anonymous
422 views
+3 votes
3 answers

Is there a way to install apache drill on an EMR cluster on AWS that is already Running?

It looks to be trying to get ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,780 points
2,007 views
+4 votes
4 answers

AWS S3 cli isn’t working on Windows server

The error message has nothing to do ...READ MORE

answered Aug 20, 2018 in Cloud Computing by Priyaj
• 58,090 points
1,191 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
4,182 views
+4 votes
3 answers

AWS API Gateway with AWS WAF

Well that is not possible, Reason: API Gateway would ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,290 points
1,454 views
+1 vote
2 answers

AWS: Four node cluster on Hadoop

Follow the following step one by one ...READ MORE

answered Aug 21, 2018 in Cloud Computing by Priyaj
• 58,090 points
610 views
0 votes
1 answer

Can you filter through the created tags by using S3 file tagging?

You cannot filter with S3 file tagging ...READ MORE

answered May 8, 2018 in Cloud Computing by Meci Matt
• 9,460 points
631 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