List credential sets
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targetTypes/{type}/credentialSets
Gives list of target type credential Sets. Returns the first page of results by ordering name in ASC by default.
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
-
isMonitoringCredentialSet: boolean
true when it is a monitoring credential set. false when it is preferred credential set.Example:
false
-
limit: integer
Minimum Value:
1
Maximum Value:2000
Number of Credential Sets to be fetchedDefault Value:20
Example:20
-
page: string
system generated page token used in the self, next and previous links.
-
setName: string
Credential Set nameExample:
CREDSETNAME
-
setNameMatches: string
Set name pattern to be filteredExample:
ASMCredsMo
-
sort: string
the order of the result set with direction. Allowed sort fields are target type and set name. Allowed directions are asc and desc. To sort more than one field, provide comma separated values like field1:direction1,field2:direction2Example:
type:ASC,name:DESC
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of credentials set returned successfully
Root Schema : CredentialSetCollection
Type:
object
This is the representation of list of credential sets.
Show Source
-
count(required): integer
the number of credential sets in this pageExample:
20
-
items(required): array
items
the credentials Set list
-
links(required): object
links
Read Only:
true
the result set navigation links
Nested Schema : items
Type:
array
the credentials Set list
Show Source
-
Array of:
object CredentialSetSummary
It represents information of a Credential Set
Nested Schema : CredentialSetSummary
Type:
object
It represents information of a Credential Set
Show Source
-
supportedCredentialTypes: array
supportedCredentialTypes
Supported Credential Types
Match All
Show Source
-
object
CredentialSetCommon
It represents information of a Credential Set
Nested Schema : supportedCredentialTypes
Type:
array
Supported Credential Types
Show Source
-
Array of:
string
Example:
HostCreds, HostSSHCreds
Nested Schema : CredentialSetCommon
Type:
object
It represents information of a Credential Set
Show Source
-
authenticatingTargetTypeName: string
Name of the Authentication target type of the credential setExample:
host
-
isMonitoringCredentialSet: boolean
true when it is a monitoring credential set. false when it is preferred credential set.Example:
true
-
setName: string
Name for of the credential setExample:
MONNAMEDCREDSET1
-
setNameDisplayName: string
display name of the credential setExample:
Host monitoring credentials
-
targetTypeName: string
name of the target type of the credential setExample:
host
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
400 Response
request is not correct
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
client is not authenticated
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
target not found or not authorized
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
internal error serving the request
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string