I came across Get Username from Amazon Access Key in Java when searching for a solution for a problem I have.
But the only difference is I want to achieve the exact opposite: Is it possible to get the access key & secret key to perform Java SDK operations by using the username created in IAM?
I want to build an application when the user logs in with his IAM credentials he can start and stop instances in the application. But to do that I need the access & secret key of that user.
I hope someone can help me or knows a workaround for my problem.
Thank you!