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.
@@ -22,9 +22,9 @@ Power users who have access to tokens in an organization see a banner, but only
22
22
Token expiry
23
23
================
24
24
25
-
Access tokens expire one year after the creation date. For access tokens created prior to February 28, 2022, the expiration date remains 5 years from the creation date. You can rotate a token before it expires using the Splunk Observability Cloud API. For details, see :ref:`access-token-rotate`.
25
+
You can view the expiration dates of your tokens through the access token page. To view this page, select :guilabel:`Settings` and select :guilabel:`Access tokens`. By default, access tokens expire 18 years after the creation date. You can rotate a token before it expires. For details, see :ref:`access-token-rotate`.
26
26
27
-
Every organization admin will receive an email 30 days before a token in their org expires. The email includes a link to Splunk Observability Cloud that displays a list of expiring tokens. You cannot customize the token expiration email.
27
+
By default, every organization admin receives an email 30 days before a token in their org expires. The email includes a link to Splunk Observability Cloud that displays a list of expiring tokens. To change the expiration reminder date, see :ref:`create-access-token-date`.
28
28
29
29
The default access token
30
30
===========================
@@ -36,48 +36,60 @@ By default, every organization has one organization-level access token. If you d
36
36
Manage access tokens
37
37
=======================
38
38
39
-
To manage your access (org) tokens:
39
+
To manage your access (org) tokens, follow these steps:
40
40
41
41
#. Open the :guilabel:`Settings` menu.
42
-
#. Select :menuselection:`Access Tokens`.
43
-
#. To find the access token in a large list, start entering its name in the search box. Splunk Observability Cloud returns matching results.
44
-
#. To look at the details for an access token, select the expand icon next to the token name.
42
+
#. Select :guilabel:`Access Tokens`.
43
+
#. Find your token by using the :guilabel:`Status` and :guilabel:`Scope` filters or enter the token name in the search bar.
44
+
#. Select the expand icon next to the token name. This displays details about the token.
45
45
46
46
For information about the access token permissions allowed by the :guilabel:`Authorization Scopes` field value, see the permissions step in :ref:`create-access-token`.
47
-
#. If you're an organization administrator, the actions menu (|more| icon) appears to the right side of the token listing. You can select token actions from this menu.
47
+
#. (Optional) If you're an organization administrator, the actions menu (|verticaldots|) appears to the right side of the token listing. You can select token actions from this menu.
48
48
49
-
#. To change the token visibility, follow these steps:
49
+
#. See :ref:`change-token-permissions` and :ref:`change-token-expiration` to modify token permissions and token expiration settings, respectively.
50
50
51
-
#. To display the available permissions, select the right arrow in the :guilabel:`Access Token Permissions` box. The following
52
-
permission options appear:
51
+
.. _change-token-permissions:
52
+
53
+
Change token permissions
54
+
-------------------------------------
55
+
56
+
If you're an organization administrator, you can change token permissions for other users and teams.
57
+
58
+
To change the token permissions, follow these steps:
59
+
60
+
#. Select the :guilabel:`Access Token Permissions` box. Choose from the following permission options:
53
61
54
62
* :menuselection:`Only Admins can Read`: Only admin users can view or read the new token. The token isn't visible to other users.
55
63
* :menuselection:`Admins and Select Users or Teams can Read`: Admin users and users or teams you select can view or read the new token. The token isn't visible to anyone else.
56
64
* :menuselection:`Everyone can Read`: Every user and team in the organization can view and read the token.
57
-
#. To add permissions, select the left arrow below :guilabel:`Access Token Permissions`.
58
-
#. If you selected :guilabel:`Admins and Select Users or Teams can Read`, select the users or teams to whom you want to give access:
59
65
60
-
#. Select :guilabel:`Add Team or User`. Splunk Observability Cloud displays a list of teams and users in your organization.
61
-
#. To find the team or username in a large list, start entering the name in the search box. Splunk Observability Cloud returns matching results.
62
-
Select the user or team.
63
-
#. If you need to add more teams or users, select :guilabel:`Add Team or User` again.
66
+
#. To add permissions, select the left arrow below :guilabel:`Access Token Permissions`.
67
+
#. If you selected :guilabel:`Admins and Select Users or Teams can Read`, select the users or teams to whom you want to give access.
68
+
#. To remove a team or user, select the delete icon (:strong:`X`) next to the team or username.
69
+
#. To update the token, select :guilabel:`Update`.
64
70
65
-
.. note::
71
+
.. _change-token-expiration:
66
72
67
-
You might see the following message in the middle of the dialog:
73
+
Change token expiration date and expiration alerts
You are currently giving permissions to a team with Restrict Access deactivated. This means any user can join this team and is able to access this Access Token.
76
+
To change the token expiration date and expiration alerts, follow these steps:
70
77
71
-
This message means that all users are able to join the team and then view or read the access token.
78
+
#. In the token actions menu (|verticaldots|), select :guilabel:`Expiration date`.
79
+
#. In the :guilabel:`Expiration date` box, select a new expiration date for the token.
80
+
#. To change the visibility of the expiration alert, select from the following options:
72
81
73
-
#. To remove a team or user, select the delete icon (:strong:`X`) next to the team or username.
74
-
#. To update the token, select :guilabel:`Update`.
82
+
* :menuselection:`Admins and users or teams with token permissions can receive alert`: Admins and anyone with token permissions receive an alert when the token is close to expiring.
83
+
* :menuselection:`Only admins can receive alert`: Only admins receive an alert when the token is close to expiring.
75
84
85
+
#. Configure the type of alert that your recipients receive.
86
+
#. Change the time at which recipients receive an alert. For example, a value of ``7d`` means recipients receive an alert 7 days before the token expires.
87
+
#. Select :guilabel:`Update`.
76
88
77
-
View and copy access tokens
78
-
==============================
89
+
View and copy access token secrets
90
+
====================================
79
91
80
-
To view the value of an access token, select the token name and then select :guilabel:`Show Token`.
92
+
To view the token secret, select the token name and then select :guilabel:`Show Token`.
81
93
82
94
To copy the token value, select :guilabel:`Copy`. You don't need to be an administrator to view or copy an access token.
83
95
@@ -87,53 +99,77 @@ To copy the token value, select :guilabel:`Copy`. You don't need to be an admini
87
99
Create an access token
88
100
==========================
89
101
102
+
To get started with creating an access token, follow these steps:
103
+
104
+
#. Open the Splunk Observability Cloud main menu.
105
+
#. Select :menuselection:`Settings` and select :menuselection:`Access Tokens`.
106
+
#. Select :guilabel:`New Token`.
107
+
108
+
Next, complete each step in the access token creation guided setup:
109
+
110
+
* :ref:`create-access-token-name`.
111
+
* :ref:`create-access-token-permissions`.
112
+
* :ref:`create-access-token-date`.
113
+
90
114
.. note::
91
115
92
-
To do the following tasks, you must be an organization administrator.
116
+
You must be an organization administrator to create access tokens.
To get started with creating the token, enter a name and scope for the token. Complete the following steps:
95
124
96
-
#. Open the Splunk Observability Cloud main menu.
97
-
#. Select :menuselection:`Settings` and select :menuselection:`Access Tokens`.
98
-
#. Select :guilabel:`New Token`. If your organization has a long list of access tokens, you might need to scroll down to the bottom of the list to access this button.
99
125
#. Enter a unique token name. If you enter a token name that is already in use, even if the token is inactive, Splunk Observability Cloud doesn't accept the name.
100
-
#. Select an authorization scope for the token from 1 of the following values:
101
-
102
-
.. note:: Assign only 1 authorization scope to each token. Applying both the :strong:`API` and :strong:`Ingest` authorization scopes to the same token might raise a security concern.
126
+
#. Select an authorization scope. See the following table for information about the authorization scopes:
127
+
128
+
.. list-table::
129
+
:header-rows: 1
130
+
131
+
* - Authorization scope
132
+
- Description
133
+
* - RUM token
134
+
- Use this scope to authenticate with RUM ingest endpoints. These endpoints use the following base URL: ``https://rum-ingest.<REALM>.signalfx.com/v1/rum``.
135
+
* - Ingest token
136
+
- Use this scope to authenticate with data ingestion endpoints and when using the Splunk Distribution of OpenTelemetry Collector. These endpoints use the following base URLs:
137
+
138
+
* POST :code:`https://ingest.<REALM>.signalfx.com/v2/datapoint`
139
+
* POST :code:`https://ingest.<REALM>.signalfx.com/v2/datapoint/otlp`
140
+
* POST :code:`https://ingest.<REALM>.signalfx.com/v2/event`
141
+
* POST :code:`https://ingest.<REALM>.signalfx.com/v1/trace`
103
142
104
-
- :strong:`RUM Token`: Select this authorization scope to use the token to authenticate with RUM ingest endpoints. These endpoints use the following base URL: :code:`https://rum-ingest.<REALM>.signalfx.com/v1/rum`.
105
-
106
-
.. caution::
107
-
RUM displays the RUM token in URIs that are visible in a browser. To preserve security, you can't assign the :strong:`Ingest` or :strong:`API` authorization scope to a RUM token.
143
+
For information about these endpoints, see :new-page:`Sending data points <https://dev.splunk.com/observability/docs/datamodel/ingest/>`.
144
+
* - API token
145
+
- Use this scope to authenticate with Splunk Observability Cloud API endpoints. These endpoints use the following base URLs:
108
146
109
-
- :strong:`Ingest Token`: Select this authorization scope to use the token to authenticate with data ingestion endpoints. These endpoints use the following base URLs:
147
+
* :code:`https://api.<REALM>.signalfx.com`
148
+
* :code:`wss://stream.<REALM>.signalfx.com`
110
149
111
-
- POST :code:`https://ingest.<REALM>.signalfx.com/v2/datapoint`
112
-
- POST :code:`https://ingest.<REALM>.signalfx.com/v2/datapoint/otlp`
113
-
- POST :code:`https://ingest.<REALM>.signalfx.com/v2/event`
114
-
- POST :code:`https://ingest.<REALM>.signalfx.com/v1/trace`
150
+
When you create an access token with API authentication scope, select at least one Splunk Observability Cloud role to associate with the token. You can select from ``power``, ``usage``, or ``read_only``. To learn more about Splunk Observability Cloud roles, see :ref:`roles-and-capabilities`.
115
151
116
-
For information about these endpoints, see :new-page:`Sending data points <https://dev.splunk.com/observability/docs/datamodel/ingest/>`.
152
+
For information about these endpoints, see :new-page:`Summary of Splunk Observability Cloud API Endpoints <https://dev.splunk.com/observability/docs/apibasics/api_list/>`.
117
153
118
-
.. note:: Use the ingest autorization scope for the Splunk Distribution of the OpenTelemetry Collector. See :ref:`otel-intro`.
119
-
- :strong:`API Token`: Select this authorization scope to use the token to authenticate with Splunk Observability Cloud endpoints. Example use cases are Terraform, programmatic usage of the API for business objects, and so on. These endpoints use the following base URLs:
120
-
121
-
- :code:`https://api.<REALM>.signalfx.com`
122
-
- :code:`wss://stream.<REALM>.signalfx.com`
154
+
#. (Optional) Add a description for the token.
155
+
#. Select :guilabel:`Next` to continue to the next step.
123
156
124
-
When you create an access token with API authentication scope, select at least one Splunk Observability Cloud role to associate with the token. You can select from ``power``, ``usage``, or ``read_only``. To learn more about Splunk Observability Cloud roles, see :ref:`roles-and-capabilities`.
157
+
.. _create-access-token-permissions:
125
158
126
-
For information about these endpoints, see :new-page:`Summary of Splunk Observability Cloud API Endpoints <https://dev.splunk.com/observability/docs/apibasics/api_list/>`.
Next, configure token permissions so your organization's users and teams can use the token. Complete the following steps:
129
163
130
-
#. To display the available permissions, select the right arrow in the :guilabel:`Access Token Permissions` box. The following
131
-
permission options appear:
164
+
#. Edit the visibility permissions. To display the available permissions, select the :guilabel:`Access Token Permissions` box. The following
165
+
permission options appear:
132
166
133
167
* :menuselection:`Only Admins can Read`: Only admin users can view or read the new token. The token isn't visible to other users.
134
168
* :menuselection:`Admins and Select Users or Teams can Read`: Admin users and users or teams you select can view or read the new token. The token isn't visible to anyone else.
135
169
* :menuselection:`Everyone can Read`: Every user and team in the organization can view and read the token.
136
-
#. To add permissions, select the arrow below :guilabel:`Access Token Permissions`.
170
+
171
+
To add permissions, select the arrow below :guilabel:`Access Token Permissions`.
172
+
137
173
#. If you selected :guilabel:`Admins and Select Users or Teams can Read`, select the users or teams to whom you want to give access:
138
174
139
175
#. Select :guilabel:`Add Team or User`. Splunk Observability Cloud displays a list of teams and users in your organization.
@@ -150,21 +186,54 @@ To create an access token:
150
186
This message means that all users are able to join the team and then view or read the access token.
151
187
152
188
#. To remove a team or user, select the delete icon (:strong:`X`) next to the team or username.
153
-
#. To create the new token, select :guilabel:`Create`.
154
189
190
+
#. Select :guilabel:`Next` to continue to the final step.
191
+
192
+
.. _create-access-token-date:
193
+
194
+
Configure an expiration date
195
+
-----------------------------------------------
196
+
197
+
To finish creating the token, select an expiration date for the token.
198
+
199
+
#. In the :guilabel:`Expiration date` box, select a date at which the token will expire. The date can't be over 5 years from the token creation date.
200
+
#. In the :guilabel:`Expiration alert` box, select from one of the following options:
201
+
202
+
* :menuselection:`Only admins can receive alert`: Only admins receive an alert when the token is close to its expiration date.
203
+
* :menuselection:`Admins and users or teams with token permissions can receive alert`: Admins and any users with token permissions receive an alert when the token is close to its expiration date.
204
+
205
+
#. (Optional) Set a time for when Splunk Observability Cloud sends an expiration alert. For example, a value of 7 days means Splunk Observability Cloud will send an alert 7 days before the token expires.
206
+
#. Select :guilabel:`Create` to finish creating the new token.
155
207
156
208
.. _access-token-rotate:
157
209
158
210
Rotate an access token
159
211
==============================
160
212
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.
213
+
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
214
163
215
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
216
165
217
.. note:: You must be a Splunk Observability Cloud admin to rotate a token.
166
218
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:
223
+
224
+
#. In Splunk Observability Cloud, select :guilabel:`Settings`.
225
+
#. Select :guilabel:`Access tokens`.
226
+
#. In the access tokens menu, select the token you want to rotate.
227
+
#. Select :guilabel:`Rotate token`.
228
+
#. Enter an expiration date for the new token secret, and optionally, a grace period for the current token secret.
229
+
#. Select :guilabel:`Rotate`.
230
+
231
+
After you're finished rotating the token, update any of your OpenTelemetry Collector configurations with the new token secret before the grace period ends.
232
+
233
+
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:
168
237
169
238
.. code-block:: bash
170
239
@@ -197,11 +266,11 @@ Rename an access token
197
266
198
267
To rename a token:
199
268
200
-
#. Select :menuselection:`Edit Token` from the token's actions menu (|more|).
269
+
#. Select :menuselection:`Edit Token` from the token's actions menu (|verticaldots|).
201
270
#. Enter a new name for the token.
202
271
#. Select :guilabel:`OK`.
203
272
204
-
Renaming a token does not affect the value of the token.
273
+
Renaming a token does not affect the token's secret.
205
274
206
275
.. note::
207
276
@@ -214,11 +283,19 @@ Deactivate or activate an access token
214
283
215
284
You can't delete tokens. You can only deactivate them.
216
285
217
-
To deactivate a token, select :menuselection:`Disable` from the token's actions menu (|more| icon).
218
-
The line that displays the token has a shaded background, which indicates that the
219
-
token is inactive. The UI displays deactivated tokens at the end of the tokens list,
220
-
after the activated tokens.
286
+
To deactivate a token, select :menuselection:`Deactivate` from the token's actions menu (|verticaldots|).
287
+
288
+
To activate a deactivated token, select :menuselection:`Activate` from the deactivated token's actions menu (|verticaldots|).
289
+
290
+
You can search for activated or deactivated tokens using the :guilabel:`Status` filter in the access tokens page.
291
+
292
+
Manage token limits
293
+
=========================================
294
+
295
+
To change limits for your access tokens, including host and container limits, follow these steps:
296
+
297
+
#. Select the token that you want to edit. This opens the token detail page.
298
+
#. Select the token actions menu (|verticaldots|), and select :guilabel:`Manage limits`.
299
+
#. In the :guilabel:`Manage limits` menu, add the new token limits.
221
300
222
-
To activate a deactivated token, select :menuselection:`Enable` from the deactivated
223
-
token's actions menu (|more| icon). The line that displays the token has a light background,
224
-
which indicates that the token is inactive.
301
+
To learn more about token limits, see :ref:`admin-manage-usage`.
0 commit comments