Project Programmatic Service Account Access Lists
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Note
The whitelist
resource is deprecated.
Use the accessList
resource instead to control access to
API operations.
Base URL: https://cloud.mongodb.com/api/public/v1.0
Use the /groups/{PROJECT-ID}/serviceAccounts/{CLIENT-ID}/accessList
resource to
view, create, or delete access list entries for a
service account within the specified
Cloud Manager Project.
Permissions
To use these endpoints, grant the following roles to a service account or user in your Project:
Role | Possible Action |
---|---|
Any role | Retrieve service account access lists. |
Create or delete service account access lists. |
Method | Endpoint | Description |
---|---|---|
| Get all access list entries that belong to the service account identified with | |
| Create one or more access list entries for the service account identified with | |
| Delete the access list entry for the service account identified with |