diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-11-07 12:37:46 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-11-07 12:37:46 -0800 |
| commit | 55973e857282af8f25249be2ec9cc8b0b8302edd (patch) | |
| tree | 81accd652dc6d2534d2517419c6f064131ef3035 | |
| parent | c4e22b5a9a38979a922a400d0fb3a4d74dbe417c (diff) | |
| download | seaweedfs-55973e857282af8f25249be2ec9cc8b0b8302edd.tar.xz seaweedfs-55973e857282af8f25249be2ec9cc8b0b8302edd.zip | |
log unknown access key
| -rw-r--r-- | weed/s3api/auth_credentials.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go index 4ecd0c170..85f551197 100644 --- a/weed/s3api/auth_credentials.go +++ b/weed/s3api/auth_credentials.go @@ -146,11 +146,13 @@ func (iam *IdentityAccessManagement) lookupByAccessKey(accessKey string) (identi for _, ident := range iam.identities { for _, cred := range ident.Credentials { + println("checking", ident.Name, cred.AccessKey) if cred.AccessKey == accessKey { return ident, cred, true } } } + glog.V(1).Infof("could not find accessKey %s", accessKey) return nil, nil, false } |
