PersonalAccessToken
Authorize STK Desktop or custom engine applications to access resources stored in STK Data Federate or Geospatial Content Server
Syntax
PersonalAccessToken / {Authenticate|Request} {Options}
Description
The PersonalAccessToken command enables you to authorize STK Desktop or custom engine applications to access resources stored in STK Data Federate or Geospatial Content Server. You must use the token at least once every 30 days (adjustable by an identity server administrator) to keep it active. You can manually revoke a token. An identity server administrator can set an expiration for the token. If the administrator does not set an expiration, the token will continue to exist indefinitely, assuming use at least once every 30 days.
Options for Authenticate using personal access tokens
Parameter | Description |
---|---|
FromFile {filepath} | The path is to the file containing previously created personal access tokens. |
Options for Request of a personal access token
Parameter | Description |
---|---|
SEDS {url} | You must supply a well-formed URL to an STK Enterprise Data Services (SEDS) service, e.g., https://stk12-00-services.agi.com/. To get the SEDS Server URL, see SEDS Details. |
Service {SDF|GCS} | Specify the server on which the user is requesting a personal access token for access: either SDF or GCS. |
ToFile {filepath} | The path is to the storage location for the personal access token(s). |
Examples
Request a personal access token for the public GCS server
Request a personal access token for the public SDF server
Authorize the application using previously created tokens
Group membership
This command belongs to the following group(s):
Version
12.5