Creates a new secret.
The createSecret()
function returns a Promise that resolves secret ID when the secret is created.
Notes:
'wix'
or be identical to an existing secret's name.createSecret()
.This function requires elevated permissions and runs only on the backend and on dashboard pages.
Fields of a new secret.