MongoDB · Schema

ServiceAccountSecret

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
createdAt string The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
expiresAt string The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
id string Unique 24-hexadecimal digit string that identifies the secret.
lastUsedAt string The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
maskedSecretValue string The masked Service Account secret.
secret string The secret for the Service Account. It will be returned only the first time after creation.
View JSON Schema on GitHub

JSON Schema

mongodb-service-account-secret-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-service-account-secret-schema.json",
  "title": "ServiceAccountSecret",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-service-accounts-api-openapi.yml#/components/schemas/ServiceAccountSecret",
  "properties": {
    "createdAt": {
      "description": "The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "expiresAt": {
      "description": "The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "Unique 24-hexadecimal digit string that identifies the secret.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "lastUsedAt": {
      "description": "The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "maskedSecretValue": {
      "description": "The masked Service Account secret.",
      "readOnly": true,
      "type": "string"
    },
    "secret": {
      "description": "The secret for the Service Account. It will be returned only the first time after creation.",
      "readOnly": true,
      "type": "string"
    }
  },
  "required": [
    "createdAt",
    "expiresAt",
    "id"
  ],
  "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-service-account-secret"
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.