MongoDB Atlas API
Registering an account for MongoDB Atlas in MechCloud OIDC Proxy
curl --location 'https://<oidc_proxy_custom_domain>/api/accounts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <mechcloud_jwt_token>' \
--data '{
"id": "mongodb_account1",
"auth": {
"type": "oauth2-mongo",
"tokenEndpoint": "https://cloud.mongodb.com/api/oauth/token",
"clientId": "<mongo_service_account_client_id>",
"clientSecret": "<mongo_service_account_client_secret>"
},
"headers": {
"Accept": "application/vnd.atlas.2024-10-23+json"
}
}'Prompts for Supported Operations
Projects
Last updated