Endpoints for managing Service Accounts and secrets.
The atlas api sub-command is automatically generated from the MongoDB Atlas Admin API and offers full coverage of the Admin API. Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.
Service Accounts are used for programmatic access to the Atlas Admin API through the OAuth 2.0 Client Credentials flow.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for serviceAccounts |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Related Commands
atlas api serviceAccounts createAccessList - Add Access List Entries for the specified Service Account for the project.
atlas api serviceAccounts createGroupSecret - Create a secret for the specified Service Account in the specified Project.
atlas api serviceAccounts createGroupServiceAccount - Creates one Service Account for the specified Project.
atlas api serviceAccounts createOrgAccessList - Add Access List Entries for the specified Service Account for the organization.
atlas api serviceAccounts createOrgSecret - Create a secret for the specified Service Account.
atlas api serviceAccounts createOrgServiceAccount - Creates one Service Account for the specified Organization.
atlas api serviceAccounts deleteGroupAccessEntry - Removes the specified access list entry from the specified Service Account for the project.
atlas api serviceAccounts deleteGroupSecret - Deletes the specified Service Account secret.
atlas api serviceAccounts deleteGroupServiceAccount - Removes the specified Service Account from the specified project.
atlas api serviceAccounts deleteOrgAccessEntry - Removes the specified access list entry from the specified Service Account for the organization.
atlas api serviceAccounts deleteOrgSecret - Deletes the specified Service Account secret.
atlas api serviceAccounts deleteOrgServiceAccount - Deletes the specified Service Account.
atlas api serviceAccounts getGroupServiceAccount - Returns one Service Account in the specified Project.
atlas api serviceAccounts getOrgServiceAccount - Returns the specified Service Account.
atlas api serviceAccounts getServiceAccountGroups - Returns a list of all projects the specified Service Account is a part of.
atlas api serviceAccounts inviteGroupServiceAccount - Assigns the specified Service Account to the specified Project.
atlas api serviceAccounts listAccessList - Returns all access list entries that you configured for the specified Service Account for the project.
atlas api serviceAccounts listGroupServiceAccounts - Returns all Service Accounts for the specified Project.
atlas api serviceAccounts listOrgAccessList - Returns all access list entries that you configured for the specified Service Account for the organization.
atlas api serviceAccounts listOrgServiceAccounts - Returns all Service Accounts for the specified Organization.
atlas api serviceAccounts updateGroupServiceAccount - Updates one Service Account in the specified Project.
atlas api serviceAccounts updateOrgServiceAccount - Updates the specified Service Account in the specified Organization.