ozone
ozone copied to clipboard
HDDS-14011. [STS] Ranger interactions for STS tokens (assumeRole and S3 api calls)
Please describe your PR in detail:
- Ranger interactions for STS tokens (assumeRole and S3 api calls). The
generateAssumeRoleSessionPolicyauthorizes the assume role invocation. The returnedsessionPolicy(if the call was successful), must be passed in theRequestContextwhen the STS token is used in order to authorize that call. - It also makes a minor update from a previous PR for TestS3AssumeRoleRequest to use
TestClock
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14011
How was this patch tested?
unit tests