---
title: "CreateIntegrationInstanceAuthCredential"
url: "https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-1/versions/781fdf4f-a935-4ec1-9343-3203c8afd399/schemas/CreateIntegrationInstanceAuthCredential"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-1/versions/781fdf4f-a935-4ec1-9343-3203c8afd399.md

# CreateIntegrationInstanceAuthCredential

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    CreateOAuthCredential:
      description: Payload used to create an `OAuth` credential for an integration instance.
      type: object
      properties:
        type:
          type: string
          enum:
            - oauth
          x-terraform-transform-const: true
        config:
          type: object
          additionalProperties: false
          properties:
            grant_type:
              description: The OAuth 2.0 grant type used for authorization (e.g.,
                `authorization_code`).
              type: string
              enum:
                - authorization_code
            code:
              description: The authorization code used to exchange for an access token with
                the identity server.
              type: string
              example: Yzk5ZDczMzRlNDEwY
            redirect_uri:
              description: >
                The redirect URI submitted to the authorization server during
                the authentication request

                to retrieve the authorization code.
              type: string
              format: uri
              example: https://cloud.konghq.com/us/service-catalog/integrations/pagerduty/oauth
          required:
            - grant_type
            - code
            - redirect_uri
          title: CreateOAuthCredentialConfig
      additionalProperties: false
      required:
        - type
        - config
    CreateGitHubAppInstallationCredential:
      description: Payload used to create an `GitHub App Installation` credential for
        an integration instance.
      type: object
      properties:
        type:
          type: string
          enum:
            - github_app_installation
          x-terraform-transform-const: true
        config:
          type: object
          additionalProperties: false
          properties:
            installation_id:
              description: The GitHub App installation ID.
              type: string
              example: "46952218"
            code:
              description: The authorization code used to exchange for a GitHub user-scoped
                access token.
              type: string
              example: Yzk5ZDczMzRlNDEwY
            app_installed_by:
              description: The GitHub user who installed the app
              type: string
          required:
            - installation_id
            - code
          title: CreateGitHubAppInstallationCredentialConfig
      additionalProperties: false
      required:
        - type
        - config
    CreateMultiKeyAuthCredential:
      description: Payload used to create an `Multi Key` credential for an integration
        instance.
      type: object
      properties:
        type:
          type: string
          enum:
            - multi_key_auth
          x-terraform-transform-const: true
        config:
          type: object
          additionalProperties: false
          properties:
            headers:
              description: >
                A list of header key/value pairs used to transmit API
                credentials to the integration's external API.

                Header names are defined by the integration within its `Multi
                Key` authorization strategy definition.
              type: array
              items:
                type: object
                required:
                  - name
                  - key
                properties:
                  name:
                    description: Name of the request header
                    type: string
                  key:
                    description: The key used to populate the request header
                    type: string
              example:
                - name: x-api-key
                  key: 9f2a3b4c8d6e7f00112233445566778899aabbccddeeff001122334455667788
          required:
            - headers
          title: CreateMultiKeyAuthCredentialConfig
      additionalProperties: false
      required:
        - type
        - config
      writeOnly: true
    CreateAWSRoleDelegationAuthCredential:
      description: Payload used to create an `AWS Role Delegation` credential for an
        integration instance.
      type: object
      properties:
        type:
          type: string
          enum:
            - aws_role_delegation
        config:
          type: object
          additionalProperties: false
          properties:
            role_arn:
              description: |
                The AWS Role ARN string
              type: string
              example: arn:aws:iam::084735895545:role/KonnectServiceCatalogRole
          required:
            - role_arn
          title: CreateAWSRoleDelegationAuthCredentialConfig
      additionalProperties: false
      required:
        - type
        - config
    CreateIntegrationInstanceAuthCredential:
      oneOf:
        - $ref: "#/components/schemas/CreateOAuthCredential"
        - $ref: "#/components/schemas/CreateGitHubAppInstallationCredential"
        - $ref: "#/components/schemas/CreateMultiKeyAuthCredential"
        - $ref: "#/components/schemas/CreateAWSRoleDelegationAuthCredential"
      title: CreateIntegrationInstanceAuthCredential
```
