aws-lib icon indicating copy to clipboard operation
aws-lib copied to clipboard

IAM Secret Key

Open 3goats opened this issue 12 years ago • 1 comments

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.

3goats avatar Jun 22 '13 13:06 3goats

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".

guss77 avatar Nov 02 '14 16:11 guss77