Docs Menu
Docs Home
/ /
MongoDB CLI
/ / /

mongocli iam projects apiKeys

On this page

  • Options
  • Inherited Options
  • Related Commands

Manage API Keys for your project.

Name
Type
Required
Description
-h, --help
false
help for apiKeys
Name
Type
Required
Description
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.
  • mongocli iam projects apiKeys assign - Assign the specified organization API key to your project and modify the API key's roles for the project.

  • mongocli iam projects apiKeys create - Create an organization API key and assign it to your project.

  • mongocli iam projects apiKeys delete - Remove the specified organization API key from your project.

  • mongocli iam projects apiKeys list - Return all organization API keys assigned to your project.

Back

projects