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:
Created
Read Only:true
-
description:
string
Title:
Description
-
id:
integer
Title:
ID
Read Only:true
-
injectors:
object Injectors
Title:
Injectors
Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. -
inputs:
object Inputs
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind(required):
string
Title:
Kind
Allowed Values:[ "ssh", "vault", "net", "scm", "cloud", "registry", "token", "insights", "external", "kubernetes", "galaxy", "cryptography" ]
-
managed:
string
Title:
Managed
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
namespace:
string
Title:
Namespace
Read Only:true
Minimum Length:1
- related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true
Nested Schema : Injectors
Type:
object
Title:
Injectors
Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax.
Nested Schema : Inputs
Type:
object
Title:
Inputs
Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.