GET

List Secret Info


Retrieves a list of secrets.

Note: This endpoint doesn't return the secret's value for security reasons. To retrieve the value, call Get Secret Value.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Secrets
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/_api/cloud-secrets-vault-server/api/v1/secrets

Request
This endpoint does not take any parameters.
Response Object
secretsArray <Secret>

A list of secrets with encrypted values.

List Secret Info Example 1
Request
cURL
curl -X GET 'https://www.wixapis.com/_api/cloud-secrets-vault-server/api/v1/secrets' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>' \
Response
JSON
{ "secrets": [ { "id": "a560ff70-3e9b-41b6-b66d-cf3434085f7d", "name": "secret_key", "description": "AWS secret access key", "createdDate": "2024-09-12T12:32:15.000Z", "updatedDate": "2024-09-12T12:32:15.000Z" } ] }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?