Validating secret inputs in backend

Checks in the backend that when creating a secret, a description and password have been provided.