]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: make s3 uppercase 47359/head
authorAnthony D'Atri <anthonyeleven@users.noreply.github.com>
Fri, 29 Jul 2022 07:11:22 +0000 (00:11 -0700)
committerZac Dover <zac.dover@gmail.com>
Fri, 29 Jul 2022 11:50:44 +0000 (21:50 +1000)
s/s3/S3/

(cherry picked from commit 73f0d5707d275529416d5110160b9ff5ead23d22)

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
doc/radosgw/STS.rst
doc/radosgw/STSLite.rst

index b4cd67148b582fab6daf8f3a0ba1b2ce2015d408..f0729680b7d56af4459075ed6cf7d57e16810765 100644 (file)
@@ -107,6 +107,15 @@ Examples
 those credentials. In this example, TESTER1 assumes a role created by TESTER, to access S3 resources owned by TESTER,
 according to the permission policy attached to the role.
 
+.. code-block:: console
+
+   radosgw-admin caps add --uid="TESTER" --caps="roles=*"
+
+2. The following is an example of the AssumeRole API call, which shows steps to create a role, assign a policy to it
+   (that allows access to S3 resources), assuming a role to get temporary credentials and accessing S3 resources using
+   those credentials. In this example, TESTER1 assumes a role created by TESTER, to access S3 resources owned by TESTER,
+   according to the permission policy attached to the role.
+
 .. code-block:: python
 
     import boto3
@@ -286,4 +295,4 @@ Steps for integrating Radosgw with Keycloak can be found here
 STSLite
 =======
 STSLite has been built on STS, and documentation for the same can be found here
-:doc:`STSLite`.
\ No newline at end of file
+:doc:`STSLite`.
index c78c14e5005b3452c914b255da97e35ac58c8c85..f5dae7050a17342dd4ff83086dfe8a09fceacdad 100644 (file)
@@ -35,7 +35,7 @@ Parameters:
     **TokenCode** (String/ Optional): The value provided by the MFA device, if MFA is required.
 
 An administrative user needs to attach a policy to allow invocation of GetSessionToken API using its permanent
-credentials and to allow subsequent s3 operations invocation using only the temporary credentials returned
+credentials and to allow subsequent S3 operations invocation using only the temporary credentials returned
 by GetSessionToken.
 
 The user attaching the policy needs to have admin caps. For example::