getSecretValue( )


Retrieves a secret value by name.

__Caution:__ Only use a secret's value in the backend code. Returning the secret value in the frontend is a security risk.
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.
Method Declaration
Copy
Method Parameters
namestringRequired

The name of the secret to get the value of.

Returns
Return Type:Promise<GetSecretValueResponse>
Did this help?