]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge branch 'quincy' into wip-doc-2022-07-28-backport-46024-to-quincy 47324/head
authorzdover23 <1445107+zdover23@users.noreply.github.com>
Sat, 30 Jul 2022 10:06:37 +0000 (20:06 +1000)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 10:06:37 +0000 (20:06 +1000)
1  2 
doc/radosgw/STS.rst
doc/radosgw/STSLite.rst

index 12a5f5eb8498ef087ec57471251c851b9354bf81,f0729680b7d56af4459075ed6cf7d57e16810765..de48bd35ec8b00e13f40e1b8123b6d2b619547fe
@@@ -104,17 -101,21 +104,26 @@@ Notes
  
  Examples
  ========
 +1. In order to get the example to work, make sure that the user TESTER has the ``roles`` capability assigned:
 +
 +.. code-block:: console
  
 -1. The following is an example of 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.
 +   radosgw-admin caps add --uid="TESTER" --caps="roles=*"
 +
 +2. The following is an example of 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:: 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
Simple merge