Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Log in to AWS using Access Key ID and Secret Access Key ID

Tags:

In AWS, how do I use my Access Key ID and Secret Access Key?

I can't use them in IAM users sign-in link.

like image 602
richersoon Avatar asked Nov 27 '14 07:11

richersoon


People also ask

What is the difference between access key and secret key in AWS?

AWS access key ID is a form of unique user/account identifier. AWS secret key is like private key. When AWS CLI sends a API request, the payload is signed by generating an HMAC with the secret key as the key.


2 Answers

Access Key ID and Secret Access Key are for API/CLI/SDK access. For IAM sign-in (dashboard) you need the username and password. When a new IAM user is added, the user gets username, password, access key and secret key, and the IAM URL from the IAM admin.

like image 162
helloV Avatar answered Oct 01 '22 13:10

helloV


To complement helloV's answer : you can also use the access key and secret key to generate a signed URL to the console. This signed URL will allow to access the console, without being prompted for username and password.

Many AWS customers are using this technique to provide single-sign on for Federated users.

More details are available at : http://docs.aws.amazon.com/STS/latest/UsingSTS/STSMgmtConsole-manualURL.html

like image 28
Sébastien Stormacq Avatar answered Oct 01 '22 14:10

Sébastien Stormacq