Get credential set for a target type
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targetTypes/{type}/credentialSets/{credSet}
Returns the credential set of a target type.
Request
Path Parameters
-
credSet(required): string
the credential set name
-
type(required): string
the target type
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Credentials set returned successfully
Root Schema : CredentialSet
Type:
object
It represents a Credential Set
Show Source
-
links: object
links
Read Only:
true
The credential set related links -
supportedCredentialTypesInfo: array
supportedCredentialTypesInfo
List of supported credential types and columns
Match All
Show Source
-
object
CredentialSetCommon
It represents information of a Credential Set
-
object
CredentialSetPrivilegesCommon
It represents information of a Credential Set privileges
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 : 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 : CredentialSetPrivilegesCommon
Type:
object
It represents information of a Credential Set privileges
Show Source
-
getPrivilege: string
privilege for the get operation for the credential setExample:
OPERATOR_TARGET
-
updateDefaultPrivilege: string
default privilege for the update operation for the credential setExample:
FULL_ANY_TARGET
-
updatePrivilege: string
privilege for the update operation for the credential setExample:
FULL_TARGET
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
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.
Examples
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