fmorg-git commented on code in PR #9254:
URL: https://github.com/apache/ozone/pull/9254#discussion_r2519183047
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/ObjectStore.java:
##########
@@ -750,6 +751,23 @@ public Iterator<OzoneSnapshotDiff> listSnapshotDiffJobs(
return new SnapshotDiffJobIterator(volumeName, bucketName, jobStatus,
listAllStatus, prevSnapshotDiffJob);
}
+ /**
+ * Process the AssumeRole operation.
+ *
+ * @param roleArn The ARN of the role to assume
+ * @param roleSessionName The session name (should be unique) for
this operation
+ * @param durationSeconds The duration in seconds for the token
validity
+ * @param awsIamSessionPolicy The AWS IAM JSON session policy
+ * @return AssumeRoleResponseInfo The AssumeRole response information
containing temporary credentials
+ * @throws IOException if an error occurs during the AssumeRole
operation
+ */
+ public AssumeRoleResponseInfo assumeRole(String roleArn,
+ String roleSessionName,
+ int durationSeconds,
+ String awsIamSessionPolicy) throws
IOException {
Review Comment:
updated
--
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]