URL:
https://<root>/portals/[portalID]/security/secureconfigs
Methods:
GET
Operations:
Create Secure Config
Child Resources:
Secure Config
Version Introduced:
12.2

Example usage

The following is a sample ArcGIS Enterprise request URL used to access the secureconfigs resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/sharing/rest/portals/0123456789ABCDEF/security/secureconfigs?credentialType=AGOL_CREDENTIALS&usagePurpose=&status=active&f=pjson

Description

The secureconfigs resource returns all currently configured ArcGIS Online administrative credentials stored for use in an ArcGIS Enterprise organization.

Request parameters

ParameterDetails

credentialType

(Optional)

Filters the configurations returned by this resource by a specific credential type. Currently, the only supported credential type is AGOL_CREDENTIALS.

Use dark colors for code blocksCopy
1
credentialType=AGOL_CREDENTIALS

usagePurpose

(Optional)

Filters the configurations returned by this resource by their designated usage. Currently, the only supported value is G3DTiles.

Use dark colors for code blocksCopy
1
usagePurpose=G3DTiles

status

(Optional)

Filters the configurations returned by this resource by their current status.

Values: active | unused

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "secureConfigs": [
    {
      "id": "VLbEagHGpW3snTc9",
      "accountId": "0123456789ABCDEF",
      "name": "G3DTiles Credentials",
      "description": "G3DTiles Credentials",
      "owner": "administrator",
      "credentialType": "AGOL_CREDENTIALS",
      "usagePurpose": "G3DTiles",
      "status": "active",
      "configJson": "{\"authenticationProperties\":{\"username\":\"userG3D\",\"authenticationUrl\":\"https://www.arcgis.com/sharing/rest/generateToken\"}}",
      "createdTime": 1790678655414,
      "modifiedTime": 1790678655474
    }
  ]
}

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