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.
You can only call this method when authenticated as a Wix app or Wix user identity.
A list of secrets with encrypted values.
curl -X GET 'https://www.wixapis.com/_api/cloud-secrets-vault-server/api/v1/secrets' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
{
"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"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.