mirror of
https://github.com/minio/minio.git
synced 2026-05-28 04:03:23 -04:00
do not expose secret-key to lambda event handler (#20870)
This commit is contained in:
parent
ed29a525b3
commit
c5d19ecebb
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ func getLambdaEventData(bucket, object string, cred auth.Credentials, r *http.Re
|
|||
},
|
||||
UserIdentity: levent.Identity{
|
||||
Type: "IAMUser",
|
||||
PrincipalID: cred.AccessKey,
|
||||
AccessKeyID: cred.SecretKey,
|
||||
PrincipalID: cred.ParentUser,
|
||||
AccessKeyID: cred.AccessKey,
|
||||
},
|
||||
}
|
||||
return eventData, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue