URL:
https://<notebookserveradmin>/notebooks/secrets/list
Methods:
GET
Required Capability:
Administrator or Create and Edit
Version Introduced:
12.1

Description

The list resource returns the names of all secrets available in the Notebook Server secret store that are owned by the current user. Secret values are not returned by this operation.

The ArcGIS Notebooks editor provides a user interface for listing notebook secrets and is the recommended method for listing secrets.

Request parameters

ParameterDetails

f

(Optional)

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Use dark colors for code blocksCopy
1
2
3
GET /notebookserver/admin/notebooks/secrets/list HTTP/1.1
Host: notebookserver.example.com
f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
{
  "Secret": [
    "<secret1>",
    "<secret2>",
    "<secret3>"
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
{
  "UserSecretNames": [
    "mySecretKey",
    "APIKey1",
    "APIKey2"
  ]
}

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