You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: admin/authentication/authentication-tokens/org-tokens.rst
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,13 +158,30 @@ To create an access token:
158
158
Rotate an access token
159
159
==============================
160
160
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.
162
162
163
163
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.
164
164
165
165
.. note:: You must be a Splunk Observability Cloud admin to rotate a token.
166
166
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:
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
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:
0 commit comments