|
@ -146,7 +146,7 @@ func (iam *IdentityAccessManagement) lookupByAccessKey(accessKey string) (identi |
|
|
|
|
|
|
|
|
for _, ident := range iam.identities { |
|
|
for _, ident := range iam.identities { |
|
|
for _, cred := range ident.Credentials { |
|
|
for _, cred := range ident.Credentials { |
|
|
println("checking", ident.Name, cred.AccessKey) |
|
|
|
|
|
|
|
|
// println("checking", ident.Name, cred.AccessKey)
|
|
|
if cred.AccessKey == accessKey { |
|
|
if cred.AccessKey == accessKey { |
|
|
return ident, cred, true |
|
|
return ident, cred, true |
|
|
} |
|
|
} |
|
|