Description of problem
It is possible to create more than one credential with the same name using API
How reproducible
100%
Steps to Reproduce:
- Using API request, create a credential
- Create another credential with the same name as the previous one
Actual results
The second cred is created successfully
Expected results
The second cred fails to be created due to: "error":"UNIQUE constraint failed: credential.Name"