MongoDB X.509 Authentication API

Returns, edits, and removes user-managed X.509 configurations. Also returns and generates MongoDB Cloud-managed X.509 certificates for database users. The following resources help manage database users who authenticate using X.509 certificates. You can manage these X.509 certificates or let MongoDB Cloud do it for you. If MongoDB Cloud manages your certificates, it also manages your Certificate Authority and can generate certificates for your database users. No additional X.509 configuration is required. If you manage your certificates, you must provide a Certificate Authority and generate certificates for your database users.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs List a database user's X.509 certificates · Return All X.509 Certificates Assigned to One Database User #
Ask an LLM
“Which X.509 certificates are assigned to a MongoDB Cloud database user?”
“Can I see the unexpired certificates for one project user?”
Tell an agent
List X.509 certificates for database user {username} in project {groupId}.
Show the certificates assigned to {username} in project {groupId}.
POST /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs Generate an X.509 certificate for a database user · Create One X.509 Certificate for One Database User #
Ask an LLM
“How do I generate a new X.509 certificate for a database user?”
“Can I choose how many months a generated user certificate stays valid?”
Tell an agent
Create an X.509 certificate for database user {username} in project {groupId}.
Generate a {monthsUntilExpiration}-month certificate for {username} in project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/userSecurity/customerX509 Disable customer-managed X.509 · Disable Customer-Managed X.509 #
Ask an LLM
“How do I turn off self-managed X.509 for a project?”
“What happens to the uploaded CA certificate when customer-managed X.509 is disabled?”
Tell an agent destructive · confirm first
Disable customer-managed X.509 for project {groupId}.
Clear the self-managed X.509 settings in project {groupId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/mongodb:mongodb-x-509-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

mongodb-x-509-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb X.509 Authentication API
  version: '2.0'
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  x-refined-note:
  - x-xgen-sha differs across the merged source definitions and was not carried
  description: 'Operations tagged X.509 Authentication across 2 of this provider''s published API definitions: mongodb-atlas-openapi.yaml, mongodb-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-x-509-authentication-api-openapi.yml