Retrieve a Credential
get
/api/v2/credentials/{id}/
Make GET request to this resource to retrieve a single credential record containing the following fields:
id: Database ID for this credential. (integer)type: Data type for this credential. (choice)url: URL for this credential. (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 was created. (datetime)modified: Timestamp when this credential was last modified. (datetime)name: Name of this credential. (string)description: Optional description of this credential. (string)organization: (id)credential_type: Specify the type of credential you want to create. Refer to the documentation for details on each type. (id)managed: (boolean)inputs: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json)kind: (field)cloud: (field)kubernetes: (field)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : Credential
Type:
Show Source
object-
cloud:
string
Title:
CloudRead Only:true -
created:
string
Title:
CreatedRead Only:true -
credential_type(required):
integer
Title:
Credential TypeSpecify the type of credential you want to create. Refer to the documentation for details on each type. -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
inputs:
object Inputs
Title:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. -
kind:
string
Title:
KindRead Only:true -
kubernetes:
string
Title:
KubernetesRead Only:true -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization:
integer
Title:
Organization - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Nested Schema : Inputs
Type:
objectTitle:
InputsEnter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax.