Applying the conflicting action conditions to AssumeRole requests using the API
Learn how to generate temporary AWS Security Token Service (STS) credentials using an
inline session policy that conflicts with the underlying Ranger policy restrictions. Use
this procedure to verify that conflicting session policy actions result in access denial due
to a lack of permission overlap.
Open a terminal on your device.
To invoke the assume-role API with a session policy specifying
an action (for example, s3:GetObjectTagging) that conflicts
with your target role's configured Ranger policy (for example,
GetObject and PutObject), run the
following assume-role command in the Cloudera Manager Host 1 where you configured AWS: