Skip to main content
POST
cURL
Heroku OAuth Connections must be created through the Infisical UI. Check out the configuration docs for Heroku OAuth Connections for a step-by-step guide.

Body

application/json
method
enum<string>
required

The method used to authenticate with Heroku.

Available options:
auth-token
credentials
object
required

The credentials used to connect with Heroku.

name
string
required

The name of the Heroku Connection to create. Must be slug-friendly.

Required string length: 1 - 64
description
string | null

An optional description for the Heroku Connection.

Maximum string length: 256
projectId
string

The ID of the project to create the Heroku Connection in.

isPlatformManagedCredentials
enum<boolean>

Not supported for Heroku Connections.

Available options:
false
gatewayId

Not supported for Heroku Connections.

gatewayPoolId

Not supported for Heroku Connections.

isAutoRotationEnabled
enum<boolean>

Not supported for Heroku Connections.

Available options:
false
rotation

Not supported for Heroku Connections.

Response

Default Response

appConnection
Heroku (Auth Token) · object
required