Create a Credential Type

post

/api/v2/credential_types/

Make a POST request to this resource with the following credential type fields to create a new credential type:

  • name: Name of this credential type. (string, required)
  • description: Optional description of this credential type. (string, default="")
  • kind: (choice, required)

    • net: Network
    • cloud: Cloud
  • inputs: Enter inputs using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={})

  • injectors: Enter injectors using either JSON or YAML syntax. Refer to the documentation for example syntax. (json, default={})

Request

Supported Media Types
Body ()
Root Schema : CredentialType
Type: object
Show Source
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.
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : CredentialType
Type: object
Show Source
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.
Back to Top