Login as IAM user using SDK

0 votes

I am using AWS SDK for Java and had been finding suitable APIs to login as an IAM User, which I am not able to. I am able to pass the access and secret keys to login using the SDK, but my use case is to validate the user and the password given by the IAM User. Can anyone help me on how to log in as an IAM user using AWS SDK?

Nov 29, 2018 in AWS by datageek
• 3,090 points
1,276 views

1 answer to this question.

0 votes

The IAM username and password can only be used with the Amazon management console and their forums

My best solution so far is using a database where I mirror the iam user name and aws secret access key. With secret key encrypted ofc. But this still has the following drawbacks

  • The secret aws key is stored in the database (even if it is not in clear text, it still is there)
  • The clients would have the access keys of a user with the rights to list iam users and read access to the database.
So, there is no workaround for this i guess
answered Nov 29, 2018 by Archana
• 5,640 points

Related Questions In AWS

0 votes
1 answer

How to login to AWS Console using IAM user account ?

You can login from the login URL ...READ MORE

answered Dec 13, 2018 in AWS by Aniket
1,134 views
0 votes
1 answer

Create IAM user using the AWS CLI.

Hi@akhtar, You can create an IAM user from ...READ MORE

answered Oct 7, 2020 in AWS by MD
• 95,460 points
491 views
0 votes
1 answer

How to delete an IAM user using AWS CLI?

Hi@akhtar, You can delete the specified IAM user. ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,790 views
+1 vote
1 answer

AWS billing information using AWS java sdk

There are no APIs to get AWS ...READ MORE

answered Jul 26, 2018 in AWS by Priyaj
• 58,100 points
760 views
0 votes
1 answer
+1 vote
2 answers

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,640 points
54,294 views
0 votes
1 answer

Using Amazon S3 for the photo storage

Pre-generating different sizes and storing them in ...READ MORE

answered Oct 26, 2018 in AWS by Archana
• 5,640 points
1,003 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