MongoDB · Schema

CloudProviderAccessRoles

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
awsIamRoles array List that contains the Amazon Web Services (AWS) IAM roles registered and authorized with MongoDB Cloud.
azureServicePrincipals array List that contains the Azure Service Principals registered with MongoDB Cloud.
gcpServiceAccounts array List that contains the Google Service Accounts registered and authorized with MongoDB Cloud.
View JSON Schema on GitHub

JSON Schema

mongodb-cloud-provider-access-roles-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-cloud-provider-access-roles-schema.json",
  "title": "CloudProviderAccessRoles",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-cloud-provider-access-api-openapi.yml#/components/schemas/CloudProviderAccessRoles",
  "properties": {
    "awsIamRoles": {
      "description": "List that contains the Amazon Web Services (AWS) IAM roles registered and authorized with MongoDB Cloud.",
      "items": {
        "$ref": "#/$defs/CloudProviderAccessAWSIAMRole"
      },
      "type": "array"
    },
    "azureServicePrincipals": {
      "description": "List that contains the Azure Service Principals registered with MongoDB Cloud.",
      "items": {
        "$ref": "#/$defs/CloudProviderAccessAzureServicePrincipal"
      },
      "type": "array"
    },
    "gcpServiceAccounts": {
      "description": "List that contains the Google Service Accounts registered and authorized with MongoDB Cloud.",
      "items": {
        "$ref": "#/$defs/CloudProviderAccessGCPServiceAccount"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "CloudProviderAccessAWSIAMRole": {
      "allOf": [
        {
          "$ref": "#/$defs/CloudProviderAccessRole"
        },
        {
          "properties": {
            "atlasAWSAccountArn": {
              "description": "Amazon Resource Name that identifies the Amazon Web Services (AWS) user account that MongoDB Cloud uses when it assumes the Identity and Access Management (IAM) role.",
              "maxLength": 2048,
              "minLength": 20,
              "readOnly": true,
              "type": "string"
            },
            "atlasAssumedRoleExternalId": {
              "description": "Unique external ID that MongoDB Cloud uses when it assumes the IAM role in your Amazon Web Services (AWS) account.",
              "format": "uuid",
              "readOnly": true,
              "type": "string"
            },
            "authorizedDate": {
              "description": "Date and time when someone authorized this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "createdDate": {
              "description": "Date and time when someone created this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "featureUsages": {
              "description": "List that contains application features associated with this Amazon Web Services (AWS) Identity and Access Management (IAM) role.",
              "items": {
                "$ref": "#/$defs/CloudProviderAccessFeatureUsage"
              },
              "readOnly": true,
              "type": "array"
            },
            "iamAssumedRoleArn": {
              "description": "Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account.",
              "maxLength": 2048,
              "minLength": 20,
              "type": "string"
            },
            "roleId": {
              "description": "Unique 24-hexadecimal digit string that identifies the role.",
              "pattern": "^([a-f0-9]{24})$",
              "readOnly": true,
              "type": "string"
            }
          },
          "type": "object"
        }
      ],
      "description": "Details that describe the features linked to the Amazon Web Services (AWS) Identity and Access Management (IAM) role.",
      "required": [
        "providerName"
      ],
      "type": "object"
    },
    "CloudProviderAccessAzureServicePrincipal": {
      "allOf": [
        {
          "$ref": "#/$defs/CloudProviderAccessRole"
        },
        {
          "properties": {
            "_id": {
              "description": "Unique 24-hexadecimal digit string that identifies the role.",
              "pattern": "^([a-f0-9]{24})$",
              "readOnly": true,
              "type": "string"
            },
            "atlasAzureAppId": {
              "description": "Azure Active Directory Application ID of Atlas. This field is optional and will be derived from the Azure subscription if not provided.",
              "format": "uuid",
              "type": "string"
            },
            "createdDate": {
              "description": "Date and time when this Azure Service Principal was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "featureUsages": {
              "description": "List that contains application features associated with this Azure Service Principal.",
              "items": {
                "$ref": "#/$defs/CloudProviderAccessFeatureUsage"
              },
              "readOnly": true,
              "type": "array"
            },
            "lastUpdatedDate": {
              "description": "Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "servicePrincipalId": {
              "description": "UUID string that identifies the Azure Service Principal.",
              "format": "uuid",
              "type": "string"
            },
            "tenantId": {
              "description": "UUID String that identifies the Azure Active Directory Tenant ID.",
              "format": "uuid",
              "type": "string"
            }
          },
          "type": "object"
        }
      ],
      "description": "Details that describe the features linked to the Azure Service Principal.",
      "required": [
        "providerName"
      ],
      "type": "object"
    },
    "CloudProviderAccessFeatureUsage": {
      "description": "MongoDB Cloud features associated with this Amazon Web Services (AWS) Identity and Access Management (IAM) role.",
      "properties": {
        "featureType": {
          "description": "Human-readable label that describes one MongoDB Cloud feature linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role.",
          "enum": [
            "ATLAS_DATA_LAKE",
            "ENCRYPTION_AT_REST",
            "EXPORT_SNAPSHOT",
            "PUSH_BASED_LOG_EXPORT",
            "ATLAS_LOG_INTEGRATION"
          ],
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "CloudProviderAccessGCPServiceAccount": {
      "allOf": [
        {
          "$ref": "#/$defs/CloudProviderAccessRole"
        },
        {
          "properties": {
            "createdDate": {
              "description": "Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "featureUsages": {
              "description": "List that contains application features associated with this Google Service Account.",
              "items": {
                "$ref": "#/$defs/CloudProviderAccessFeatureUsage"
              },
              "readOnly": true,
              "type": "array"
            },
            "gcpServiceAccountForAtlas": {
              "description": "Email address for the Google Service Account created by Atlas.",
              "pattern": "^mongodb-atlas-[0-9a-z]{16}@p-[0-9a-z]{24}.iam.gserviceaccount.com$",
              "type": "string"
            },
            "roleId": {
              "description": "Unique 24-hexadecimal digit string that identifies the role.",
              "pattern": "^([a-f0-9]{24})$",
              "readOnly": true,
              "type": "string"
            },
            "status": {
              "description": "Provision status of the service account.",
              "enum": [
                "IN_PROGRESS",
                "COMPLETE",
                "FAILED",
                "NOT_INITIATED"
              ],
              "readOnly": true,
              "type": "string"
            }
          },
          "type": "object"
        }
      ],
      "description": "Details that describe the features linked to the GCP Service Account.",
      "required": [
        "providerName"
      ],
      "type": "object"
    },
    "CloudProviderAccessRole": {
      "description": "Cloud provider access role.",
      "oneOf": [
        {
          "$ref": "#/$defs/CloudProviderAccessAWSIAMRole"
        },
        {
          "$ref": "#/$defs/CloudProviderAccessAzureServicePrincipal"
        },
        {
          "$ref": "#/$defs/CloudProviderAccessGCPServiceAccount"
        }
      ],
      "properties": {
        "providerName": {
          "description": "Human-readable label that identifies the cloud provider of the role.",
          "enum": [
            "AWS",
            "AZURE",
            "GCP"
          ],
          "type": "string"
        }
      },
      "required": [
        "providerName"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mongodb-cloud-provider-access-roles"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.