Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit b4d9bb5

Browse files
initial commit + rotation from token menu
1 parent b33db3f commit b4d9bb5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

admin/authentication/authentication-tokens/org-tokens.rst

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,30 @@ To create an access token:
158158
Rotate an access token
159159
==============================
160160

161-
You can rotate an access token using the Splunk Observability Cloud API. This creates a new secret for the token and deactivates the token's previous secret. Optionally, you can provide a grace period before the previous token secret expires.
161+
You can rotate an access token using the access token menu or the Splunk Observability Cloud API. This creates a new secret for the token and deactivates the token's previous secret. Optionally, you can provide a grace period before the previous token secret expires.
162162

163163
You can't rotate tokens after they expire. If you don't rotate a token before it expires, you must create a new token to replace it.
164164

165165
.. note:: You must be a Splunk Observability Cloud admin to rotate a token.
166166

167-
To rotate an access token, use the ``POST /token/{name}/rotate`` endpoint in the Splunk Observability Cloud API. An API call to rotate a token looks like this:
167+
Rotate access tokens using the token menu
168+
-------------------------------------------------------------------
169+
170+
To rotate a token using the access token menu, follow these steps:
171+
172+
#. In Splunk Observability Cloud, select :guilabel:`Settings`.
173+
#. Select `Access tokens`.
174+
#. In the access tokens menu, select the token you want to rotate.
175+
#. Select :guilabel:`Rotate token`.
176+
#. Enter an expiration date for the new token secret, and optionally, a grace period for the current token secret.
177+
#. Select :guilabel:`Rotate`.
178+
179+
After you're finished rotating the token, update any of your OpenTelemetry Collector configurations with the new token secret before the grace period ends.
180+
181+
Rotate access tokens using the Splunk Observability Cloud API
182+
-------------------------------------------------------------------
183+
184+
To rotate an access token with the API, use the ``POST /token/{name}/rotate`` endpoint in the Splunk Observability Cloud API. An API call to rotate a token looks like this:
168185

169186
.. code-block:: bash
170187

0 commit comments

Comments
 (0)