Skip to main content

Importing an OpenAPI tool with connections

To associate an OpenAPI tool to a connection, simply specify the application id with the -a flag. OpenAPI tools support only one connection per server. To support multiple connections or non-standard headers, use a python tool.
BASH
orchestrate tools import -k openapi -f my_tool.py -a app_1

How each authentication type is injected at runtime

Basic Connections

API Keys will be injected in the headers of a request as:
Authorization: Basic {base64encoded(username:password)}

Bearer Connections

Bearer tokens will be injected in the headers of a request as:
Authorization: Bearer {token}

API Key Connections

API Keys will be injected in the headers of a request as:
x-api-key: {api_key}

OAuth (all)

OAuth connections will be injected in the headers of a request as:
Authorization: Bearer {access_token}

Key Value Connections

Key value connections are not supported.