Skip to main content

Search credentials and discovered users

GET 

/api/v1/Credential/Search

Returns one page of credentials and discovered users, including users found by directory sync and host scans. You can filter by text, type, management state and privilege. Application-type credentials are never returned, and credentials held in a password vault are left out unless the deployment is set to release them. For users with only the UserPlus role, the results cover only what that user can see.

Permission required: Admin or App role, or the UserPlus role with the Credentials permission.

Values for ManagedType (managedType): -1 = All, 0 = Internal, 1 = Standard, 2 = Service.

Values for CredentialType: -1 = Any, 0 = Configuration, 1 = User, 2 = Service, 3 = ActivityToken, 4 = Application, 5 = VaultUser, 6 = SshKeyCert.

Values for CredentialSearchManagedFilter (managedFilter): -1 = All, 0 = NotManaged, 1 = Managed, 2 = Automatic, 3 = Manual.

Values for UserPrivilege (privilegeFilter): 0 = NotSet, 1 = Administrator, 2 = PowerUser, 3 = Guest, 4 = User, 5 = SuperUser, 6 = LinuxUser, 7 = CiscoPrivilege_0, 8 = CiscoPrivilege_1, 9 = CiscoPrivilege_2, 10 = CiscoPrivilege_3, 11 = CiscoPrivilege_4, 12 = CiscoPrivilege_5, 13 = CiscoPrivilege_6, 14 = CiscoPrivilege_7, 15 = CiscoPrivilege_8, 16 = CiscoPrivilege_9, 17 = CiscoPrivilege_10, 18 = CiscoPrivilege_11, 19 = CiscoPrivilege_12, 20 = CiscoPrivilege_13, 21 = CiscoPrivilege_14, 22 = CiscoPrivilege_15, 23 = DomainAdmin, 24 = EnterpriseAdmin.

Request​

Responses​

An object with the page of results in data and the total number of matches in recordsTotal.