ChenSammi commented on code in PR #11095:
URL: https://github.com/apache/ozone/pull/11095#discussion_r3849018754
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3AssumeRoleRequest.java:
##########
@@ -182,7 +185,7 @@ public OMClientResponse validateAndUpdateCache(OzoneManager
ozoneManager, Execut
final long expirationEpochSeconds =
clock.instant().plusSeconds(durationSeconds).getEpochSecond();
// Add tempAccessKeyId to the log so it can be determined which
permanent user created the tempAccessKeyId
- auditMap.put("tempAccessKeyId", tempAccessKeyId);
+ auditMap.put(OzoneConsts.S3_STS_TEMP_ACCESS_KEY_ID, tempAccessKeyId);
Review Comment:
We can use user field. Not must to add a separate originalAccessKeyId,
unless we want to make the op=S3_ASSUME_ROLE completely include all the
important fields as a whole.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]