From 76eae93ab8dcd91873f49350d452da8b4838fbb0 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Tue, 21 Feb 2023 13:55:03 +1000 Subject: [PATCH] doc/rgw: session-tags.rst - fix link to keycloak Fix a link in the doc/radosgw/session-tags.rst file that was intended to link to the doc/radosgw/keycloak.rst file. Signed-off-by: Zac Dover --- doc/radosgw/keycloak.rst | 2 ++ doc/radosgw/session-tags.rst | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/radosgw/keycloak.rst b/doc/radosgw/keycloak.rst index 534c4733abb46..271675186c936 100644 --- a/doc/radosgw/keycloak.rst +++ b/doc/radosgw/keycloak.rst @@ -1,3 +1,5 @@ +.. _radosgw_keycloak: + ================================= Keycloak integration with RadosGW ================================= diff --git a/doc/radosgw/session-tags.rst b/doc/radosgw/session-tags.rst index 47ed53372667e..46722c38251a4 100644 --- a/doc/radosgw/session-tags.rst +++ b/doc/radosgw/session-tags.rst @@ -43,11 +43,13 @@ 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: +:ref:`radosgw_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: +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: .. code-block:: python @@ -422,4 +424,4 @@ JWT (access token) by the IDP eq(s3_put_obj['ResponseMetadata']['HTTPStatusCode'],200) s3_get_obj = s3client2.get_object(Bucket=bucket_name, Key=key) - eq(s3_get_obj['ResponseMetadata']['HTTPStatusCode'],200) \ No newline at end of file + eq(s3_get_obj['ResponseMetadata']['HTTPStatusCode'],200) -- 2.39.5