- 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
| Parameter | Details |
|---|---|
(Optional) | The response format. The default response format is Values: |
Example usage
GET /notebookserver/admin/notebooks/secrets/list HTTP/1.1
Host: notebookserver.example.com
f=jsonJSON Response syntax
{
"Secret": [
"<secret1>",
"<secret2>",
"<secret3>"
]
}JSON Response example
{
"UserSecretNames": [
"mySecretKey",
"APIKey1",
"APIKey2"
]
}