List credentials of one type
GET/api/v1/Credential
Returns the credentials of one type. Without a type it returns the Configuration credentials, which are the service accounts used by resources. The Search route is the better choice for most uses.
Permission required: Admin or App role, or the UserPlus role with the Credentials permission.
Values for CredentialType: -1 = Any, 0 = Configuration, 1 = User, 2 = Service, 3 = ActivityToken, 4 = Application, 5 = VaultUser, 6 = SshKeyCert.
Caution: The response lists credential details and can include deleted credentials unless includeDeleted is false.
Request
Responses
- 200
- 403
A list of credentials. Password, enable password, key and passphrase fields are left out.
The signed-in user does not have the required role or permission.