App Connections

Create a MongoDB Connection.

post/api/v1/app-connections/mongodb

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/app-connections/mongodb
  • Auth
    none declared

Request body

method'username-and-password' required

The method used to authenticate with MongoDB.

namestring required

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

descriptionstring nullable

An optional description for the MongoDB Connection.

projectIdstring

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

isPlatformManagedCredentialsfalse

Not supported for MongoDB Connections.

gatewayId'null' nullable

Not supported for MongoDB Connections.

gatewayPoolId'null' nullable

Not supported for MongoDB Connections.

isAutoRotationEnabledfalse

Not supported for MongoDB Connections.

rotation'null' nullable

Not supported for MongoDB Connections.

Response

Default Response

Changes

No recorded changes to this operation across all 65 revisions of this API.