LogoLogo
Metadata for Integration Config
Metadata for Integration Config
  • INTEGRATION METADATA
    • Amazon Account
    • AWS EC2 SSH
    • Elastic Kubernetes Service (EKS)
    • AWS Lambda Custom Integration
    • Amazon Organization
    • AWS RDS MySQL
    • AWS RDS PostgreSQL
    • Amazon RDS
    • Entra ID (Azure AD) Groups
    • Azure Kubernetes Service (AKS)
    • Azure Management Group
    • Azure MySQL
    • Azure PostgreSQL
    • Azure Subscription
    • Azure VM SSH
    • Cloud Function Custom Integration
    • F5 Network
    • Google AlloyDB
    • Google BigQuery
    • Google Cloud SQL - MySQL
    • Google Cloud SQL - PostgreSQL
    • Google Kubernetes Engine (GKE)
    • Google Organization
    • Google Project
    • Github
    • JumpCloud
    • Kubernetes Proxy
    • Kubernetes
    • LDAP Group
    • MariaDB
    • Mongo Atlas Portal
    • MongoDB Atlas
    • MongoDB
    • Microsoft SQL Server
    • MySQL
    • Okta Group
    • OneLogin Group
    • 1Password
    • OpenVPN
    • Oracle Database
    • PostgreSQL
    • RabbitMQ
    • Rancher
    • RDP
    • Redis Cloud (Redislabs)
    • Amazon Redshift
    • Snowflake
    • SSH
    • Vertica Database
    • Web App
    • Windows Domain Controller
Powered by GitBook
On this page
  • Example Usage
  • Schema
  • Integration Config

Was this helpful?

Export as PDF
  1. INTEGRATION METADATA

MongoDB Atlas

Fully managed MongoDB service

Example Usage


mongodb-atlas-integration.tf
resource "apono_integration" "mongodb-atlas-integration" {
  name                     = "MongoDB Atlas"
  type                     = "mongodb-atlas"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["mongodb-atlas-cluster"]
  metadata = {
    project_id = "<Project Id>"
    cluster_name = "<Cluster Name>"
    connection_type = "<Connection Type>"
    private_endpoint_id = "<Private Endpoint Id>"
    credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
    credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
  }
  kubernetes_secret = {
    name      = "name_template_value"
    namespace = "namespace_template_value"
  }
}
mongodb-atlas-integration.tf
resource "apono_resource_integration" "mongodb-atlas-integration" {
  name                     = "MongoDB Atlas"
  type                     = "mongodb-atlas"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["mongodb-atlas-cluster"]
  integration_config = {
    project_id = "<Project Id>"
    cluster_name = "<Cluster Name>"
    connection_type = "<Connection Type>"
    private_endpoint_id = "<Private Endpoint Id>"
    credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
    credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
  }
  secret_store_config = {
    kubernetes = {
      name      = "name_template_value"
      namespace = "namespace_template_value"
    }
}
mongodb-atlas-integration.json
{
    "mongodb-atlas-integration": {
        "name": "MongoDB Atlas",
        "type": "mongodb-atlas",
        "connector_id": "apono-connector-id",
        "connected_resource_types": [
            "mongodb-atlas-cluster"
        ],
        "integration_config": {
            "project_id": "<Project Id>",
            "cluster_name": "<Cluster Name>",
            "connection_type": "<Connection Type>",
            "private_endpoint_id": "<Private Endpoint Id>",
            "credentials_rotation_period_in_days": "<Credentials rotation period (in days)>",
            "credentials_cleanup_period_in_days": "<User cleanup after access is revoked (in days)>",
        },
	"secret_store_config": {
    	    "name": "name_template_value",
    	    "namespace": "namespace_template_value"
  	    }
    }
}

Schema


  • type mongodb-atlas

  • connected_resource_types List of resource types to sync.

Available resource types you can use
  • mongodb-atlas-cluster

  • mongodb-atlas-database

  • mongodb-atlas-collection

  • mongodb-atlas-custom-role

Integration Config


  • project_id (Required | String) Project Id

  • cluster_name (Required | String) Cluster Name

  • connection_type (Required | String) Connection Type

    • Default value: Standard

    • Possible values: Standard, Private, PrivateEndpoint

  • private_endpoint_id (Optional | String) Private Endpoint Id

  • credentials_rotation_period_in_days (Optional | String) Credentials rotation period (in days)

  • credentials_cleanup_period_in_days (Optional | String) User cleanup after access is revoked (in days)

PreviousMongo Atlas PortalNextMongoDB

Last updated 8 days ago

Was this helpful?