listSecretInfo( )


Retrieves a list of objects containing information about all secrets.

The listSecretInfo() function returns a Promise that resolves to a list containing information about all secrets stored on your site.

Note:

  • The secret's value does not get returned for security reasons. To retrieve a secret's value, use the getSecretValue() function.
Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Secrets
Learn more about permission scopes.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<ListSecretInfoResponse>
Was this helpful?
Yes
No