mirkokiefer / aws-lib

Extensible Node.js library for the Amazon Web Services API
MIT License
681 stars 166 forks source link

IAM Secret Key #77

Open 3goats opened 11 years ago

3goats commented 11 years ago

Hi,

Using this code:

iam.call("ListUsers", {}, function(err, result) {
    if (result["Error"]) {
            console.log(JSON.stringify(result.ListUsersResult));

I can get a list of IAM users, however I need to also retrieve the secret key!

Is this possible using your library?

Best Regards.

guss77 commented 10 years ago

AWS does not allow retrieving the secret key for an existing user - I doubt they even have it.

If you remember when you created the secret key in the first place, the AWS console wrote "this is the last time that the secret key will be available".