Login to AWS from AWS Tools for Powershell

0 votes

I'm trying to use AWS Tools from Powershell, but I don't know how to log in. So when I run a command I naturally get this error:No credentials specified or obtained from persisted/shell defaults.

Jul 18, 2018 in AWS by bug_seeker
• 15,520 points
3,312 views

1 answer to this question.

0 votes

If your IAM user account doesn't already have Access and Secret Keys you'll need to create them here.

http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey

Then create a profile

Writes a new (or updates existing) profile with name "myProfileName" in the encrypted SDK store file

Set-AWSCredential -AccessKey akey -SecretKey skey -StoreAs myProfileName

Checks the encrypted SDK credential store for the profile and then falls back to the shared credentials file in the default location

Set-AWSCredential -ProfileName myProfileName

answered Jul 18, 2018 by Priyaj
• 58,100 points

Related Questions In AWS

0 votes
2 answers

How to test credentials for AWS Command Line Tools

This command always works regardless of the ...READ MORE

answered Aug 8, 2018 in AWS by anonymous
5,984 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,944 views
+1 vote
2 answers

AWS CloudWatch Logs in Docker

The awslogs works without using ECS. you need to configure ...READ MORE

answered Sep 7, 2018 in AWS by bug_seeker
• 15,520 points
1,965 views
0 votes
1 answer

Quick way to get AWS Account number from the cli tools?

Via "Secure Token Service" using the following ...READ MORE

answered Jul 12, 2018 in AWS by Priyaj
• 58,100 points
1,760 views
+2 votes
2 answers

How do we move a domain from Hostgator to AWS Route 53?

I found this  Before transferring a domain, make ...READ MORE

answered Aug 3, 2018 in AWS by Priyaj
• 58,100 points
5,790 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