Skip to content

Commit 605ca82

Browse files
Merge pull request ceph#62988 from bluikko/doc-oidc-examples-radosgw
doc/radosgw: Fix RST syntax rendered as text in oidc.rst
2 parents e2acaa5 + b4fb5dc commit 605ca82

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/radosgw/oidc.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ The following REST APIs can be used for creating and managing an OpenID Connect
1111

1212
In order to invoke the REST admin APIs, a user with admin caps needs to be created.
1313

14-
.. code-block:: javascript
14+
.. prompt:: bash #
1515

16-
radosgw-admin --uid TESTER --display-name "TestUser" --access_key TESTER --secret test123 user create
17-
radosgw-admin caps add --uid="TESTER" --caps="oidc-provider=*"
16+
radosgw-admin --uid TESTER --display-name "TestUser" --access_key TESTER --secret test123 user create
17+
radosgw-admin caps add --uid="TESTER" --caps="oidc-provider=*"
1818

1919

2020
CreateOpenIDConnectProvider
@@ -42,6 +42,7 @@ Request Parameters
4242

4343

4444
Example::
45+
4546
POST "<hostname>?Action=Action=CreateOpenIDConnectProvider
4647
&ThumbprintList.list.1=F7D7B3515DD0D319DD219A43A9EA727AD6065287
4748
&ClientIDList.list.1=app-profile-jsp
@@ -62,6 +63,7 @@ Request Parameters
6263
:Type: String
6364

6465
Example::
66+
6567
POST "<hostname>?Action=Action=DeleteOpenIDConnectProvider
6668
&OpenIDConnectProviderArn=arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart"
6769

@@ -80,6 +82,7 @@ Request Parameters
8082
:Type: String
8183

8284
Example::
85+
8386
POST "<hostname>?Action=Action=GetOpenIDConnectProvider
8487
&OpenIDConnectProviderArn=arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart"
8588

@@ -94,6 +97,7 @@ Request Parameters
9497
None
9598

9699
Example::
100+
97101
POST "<hostname>?Action=Action=ListOpenIDConnectProviders
98102

99103
AddClientIDToOpenIDConnectProvider
@@ -115,6 +119,7 @@ Request Parameters
115119
:Type: String
116120

117121
Example::
122+
118123
POST "<hostname>?Action=Action=AddClientIDToOpenIDConnectProvider
119124
&OpenIDConnectProviderArn=arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart
120125
&ClientID=app-jee-jsp"
@@ -138,6 +143,7 @@ Request Parameters
138143
:Type: String
139144

140145
Example::
146+
141147
POST "<hostname>?Action=Action=RemoveClientIDFromOpenIDConnectProvider
142148
&OpenIDConnectProviderArn=arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart
143149
&ClientID=app-jee-jsp"
@@ -162,6 +168,7 @@ Request Parameters
162168
:Type: Array of Strings
163169

164170
Example::
171+
165172
POST "<hostname>?Action=Action=UpdateOpenIDConnectProviderThumbprint
166173
&OpenIDConnectProviderArn=arn:aws:iam:::oidc-provider/localhost:8080/auth/realms/quickstart
167174
&&ThumbprintList.list.1=ABCDB3515DD0D319DD219A43A9EA727AD6061234"

0 commit comments

Comments
 (0)