Skip to content

Commit 161acad

Browse files
author
Tracey Carter
committed
implemented Ankit feedback
1 parent ce0bffd commit 161acad

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

splunkplatform/unified-id/unified-identity.rst

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Splunk Cloud Platform customers who want to purchase Splunk Observability Cloud
9090
Set up Unified Identity for existing Splunk Observability Cloud customers
9191
------------------------------------------------------------------------------------------
9292

93-
There are 2 ways you can pair your Splunk Observability Cloud and Splunk Cloud Platform organizations: Command Line Interface or API endpoints. These instructions cover both ways. If you haven't installed the ACS command-line tool and want to use it, see :new-page:`Administer Splunk Cloud Platform using the ACS CLI <https://docs.splunk.com/Documentation/SplunkCloud/latest/Config/ACSCLI>`.
93+
There are 2 ways you can pair your Splunk Observability Cloud and Splunk Cloud Platform organizations: using command-line interface with Admin Config Services (ACS) commands or using API endpoints. These instructions cover both ways. If you haven't installed the ACS command-line tool and want to use it, see :new-page:`Administer Splunk Cloud Platform using the ACS CLI <https://docs.splunk.com/Documentation/SplunkCloud/latest/Config/ACSCLI>`.
9494

9595
If you already have a Splunk Cloud Platform account and a Splunk Observability Cloud account, take the following actions to set up Unified Identity:
9696

@@ -102,40 +102,50 @@ If you already have a Splunk Cloud Platform account and a Splunk Observability C
102102

103103
3. Pair your Splunk Observability Cloud and Splunk Cloud Platform organizations:
104104

105-
a. To pair with Command Line Interface, open Terminal and enter the following Admin Config Services (ACS) command:
105+
a. To pair with command-line interface, enter the following Admin Config Services (ACS) command:
106106

107107
.. code-block:: bash
108108
109109
acs observability pair --o11y-access-token "<enter-o11y-access-token>"
110110
111111
Replace ``<enter-o11y-access-token>`` in the example above, with the user API access token you retrieved from Splunk Observability Cloud in previous step.
112112

113-
b. To pair with API endpoints, collect the following information before using the curl command:
113+
b. To pair with API endpoints, collect the following information then run the curl command:
114114

115115
i. Splunk Cloud Platform admin API access token (Create a new authentication token with an admin user. See :new-page:`Use Splunk Web to create authentication tokens <https://docs.splunk.com/Documentation/Splunk/9.3.1/Security/CreateAuthTokens>`.)
116116

117117
ii. O11y API access token (obtained it in step 2 above)
118118

119119
iii. Splunk Cloud Platform instance name (the custom subdomain for your Splunk Cloud stack)
120120

121+
Run the curl command:
121122

122-
Whether you used Command Line Interface or API endpoints, the pairing command returns a pairing id:
123+
.. code-block:: bash
124+
125+
curl --location
126+
'https://admin.splunk.com/<enter-stack-name>/adminconfig/v2/observability/sso-pairing' \
127+
--header 'Content-Type: application/json' \
128+
--header 'Authorization: Bearer <enter-splunk-admin-api-token>' \
129+
--header 'o11y-access-token': '<enter-o11y-api-token>'
130+
131+
132+
Whether you used the command-line interface or API endpoints, the pairing command returns a pairing id:
123133

124134
.. code-block:: bash
125135
126136
"id": "<pairing-id>"
127137
128138
4. You can use the pairing id to get the current status of the pairing.
129139

130-
a. To get the status using Command Line Interface, run the following ACS command:
140+
a. To get the status using command-line interface, run the following ACS command:
131141

132142
.. code-block:: bash
133143
134144
acs observability pairing-status-by-id --pairing-id "<enter-pairing-id>" --o11y-access-token "<enter-o11y-access-token>"
135145
136146
Replace the pairing id and the access token with your own values.
137147

138-
b. To get the status using API endpoints, run the following curl command with the data you have obtained in step 3b:
148+
b. To get the status using API endpoints, run the following curl command with the data you obtained in step 3b:
139149

140150
.. code-block:: bash
141151

0 commit comments

Comments
 (0)