mirror of
https://github.com/minio/minio.git
synced 2025-01-26 22:23:15 -05:00
do not expose secret-key to lambda event handler (#20870)
This commit is contained in:
parent
ed29a525b3
commit
c5d19ecebb
@ -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…
x
Reference in New Issue
Block a user