Token Manager

Description

The Token Manager is a web service that issues tokens. Tokens are used instead of user credentials when consuming GIS services that have token-based security enabled on them. Tokens are also used for consuming the Administrator API through a script or application. Token Manager exposes a REST-ful interface along with an HTML page to fetch tokens manually. An instance of the token manager is integrated into the Administrator API and can be reached at:

1
https://server:6080/arcgis/admin/generateToken

For backwards compatibility, another instance of token manager is available at:

1
https://server:6080/arcgis/tokens/generateToken

However, the above instance of Token Manager is configured by the administrator and started up only when token-based security is enabled on the GIS server. Use the update token configuration operation to change the token manager.

Request parameters

ParameterDetails

sharedKey

The key used to encrypt the tokens.

longTimeout

The maximum time in minutes for which a token can be requested.

Example

1
1440

shortTimeout

The shortest amount of time in minutes for which a token is issued.

Example

1
60

JSON Response syntax

1
2
3
4
{
		"type": "BUILTIN",
		"properties": <properties>
}

JSON Response example

The JSON representation of a Token Manager configuration:

1
2
3
4
5
6
7
8
{
	 "type": "BUILTIN",
	 "properties": {
		 "sharedKey": "my really really secret passphrase",
		 "longTimeout": "2880",
		 "shortTimeout": "120",
	 }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close