]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/rgw/sts: correcting documentation errors.
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 13 Sep 2021 05:56:26 +0000 (11:26 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Fri, 17 Sep 2021 05:27:27 +0000 (10:57 +0530)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
doc/radosgw/session-tags.rst

index abfb89e87cfc057d4d214e462146991a1326383a..47ed53372667e17371f8496e560e850b473ebd72 100644 (file)
@@ -43,7 +43,8 @@ An example of the session tags that are passed in by the IDP in the web token is
         "active": true
     }
 
-Steps to configure Keycloak to pass tags in the web token are described here:doc:`keycloak`.
+Steps to configure Keycloak to pass tags in the web token are described here
+:doc:`keycloak`.
 
 The trust policy must have 'sts:TagSession' permission if the web token passed in by the federated user contains session tags, otherwise
 the AssumeRoleWithWebIdentity action will fail. An example of the trust policy with sts:TagSession is as follows:
@@ -145,7 +146,7 @@ An example of a role's trust policy that uses aws:TagKeys is as follows:
                "Effect":"Allow",
                "Action":["sts:AssumeRoleWithWebIdentity","sts:TagSession"],
                "Principal":{"Federated":["arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart"]},
-               "Condition":{"ForAllValues:StringEquals":{"aws:TagKeys":["Marketing,Engineering"]}}
+               "Condition":{"ForAllValues:StringEquals":{"aws:TagKeys":["Department"]}}
            }]
        }