Search for credential type information
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targetTypes/{type}/actions/searchCredentialTypeInfo
Search for credential type information of a given target type. Returns credential type information, column names, key columns.
Request
Path Parameters
-
type(required): string
the target type
Query Parameters
-
include: string
If include=total information about total number of returned records will be included in the response
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Request payload for the credential type info search. Search will filter by the given target type and credential type name. When not given, it will return information for all targets and credential types. One or both properties can be passed for filtering.
Show Source
-
credentialTypeMatches: string
credential type pattern to be filteredExample:
HostCreds
-
credentialTypeName: string
Type of credential to be searchedExample:
HostCreds
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
List of Credential types for target types returned successfully
Root Schema : CredentialTypeInfoCollection
Type:
object
This is the representation of list of credential type info of target types.
Show Source
-
count(required): integer
the number of credential types described in this pageExample:
20
-
items(required): array
items
the Credential type information list
-
links(required): object
links
Read Only:
true
the result set navigation links -
total: integer
Total number of items that are available (for all the pages)Example:
101
Nested Schema : items
Type:
array
the Credential type information list
Show Source
-
Array of:
object CredentialTypeInfo
Schema object to hold Preferred Credential data returned from the search action
Nested Schema : CredentialTypeInfo
Type:
object
Schema object to hold Preferred Credential data returned from the search action
Show Source
-
supportedCredentialTypesInfo: array
supportedCredentialTypesInfo
List of supported credential types and columns
-
targetTypeName: string
name of the target type of the credential setExample:
host
Nested Schema : supportedCredentialTypesInfo
Type:
array
List of supported credential types and columns
Show Source
-
Array of:
object SupportedCredentialTypesInfo
Supported credential type and its columns associated
Nested Schema : SupportedCredentialTypesInfo
Type:
object
Supported credential type and its columns associated
Show Source
-
name: string
Name of the credential typeExample:
HostSSHCreds
-
typeColumns: object
typeColumns
Additional Properties Allowed: additionalPropertiesRepresents a map of type columns for the credential set. The key is the column name and the value represents if this column is sensitive or not.
Nested Schema : typeColumns
Type:
object
Additional Properties Allowed
Show Source
Represents a map of type columns for the credential set. The key is the column name and the value represents if this column is sensitive or not.
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
Examples