Retrieve a Credential Type
get
/api/v2/credential_types/{id}/
Make GET request to this resource to retrieve a single credential type record containing the following fields:
id: Database ID for this credential type. (integer)type: Data type for this credential type. (choice)url: URL for this credential type. (string)related: Data structure with URLs of related resources. (object)summary_fields: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created: Timestamp when this credential type was created. (datetime)modified: Timestamp when this credential type was last modified. (datetime)name: Name of this credential type. (string)description: Optional description of this credential type. (string)kind: (choice)ssh: Machinevault: Vaultnet: Networkscm: Source Controlcloud: Cloudregistry: Container Registrytoken: Personal Access Tokeninsights: Insightsexternal: Externalkubernetes: Kubernetesgalaxy: Galaxy/Automation Hubcryptography: Cryptography
namespace: (string)managed: (boolean)inputs: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json)injectors: Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. (json)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : CredentialType
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
injectors:
object Injectors
Title:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. -
inputs:
object Inputs
Title:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind(required):
string
Title:
KindAllowed Values:[ "ssh", "vault", "net", "scm", "cloud", "registry", "token", "insights", "external", "kubernetes", "galaxy", "cryptography" ] -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
namespace:
string
Title:
NamespaceRead Only:trueMinimum Length:1 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Nested Schema : Injectors
Type:
objectTitle:
InjectorsEnter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type:
objectTitle:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.