对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

设置和管理GoogleGoogle Cloud Platform Cloud Platform服务帐号访问

注意

The MongoDB Atlas Shared Responsibility Model defines the complementary duties of MongoDB and its customers in maintaining a secure and resilient data environment. Under this framework, MongoDB manages the security and operational integrity of the underlying platform, while customers are responsible for the configuration, management, and data policies of their specific deployments. For a detailed breakdown of ownership across security and operational excellence, see Shared Responsibility Model.

某些Atlas功能(例如Data Federation)需要访问权限Google Cloud Platform存储环境中的资源。要以安全方式授予访问权限,请使用访问权限策略创建或更新Google Cloud Platform服务帐户。

要配置Google Cloud Platform服务帐户访问权限,您必须对该项目拥有Project Owner访问权限。

拥有 Organization Owner 访问权限的用户必须将自己作为 Project Owner 添加到项目中。

  • 一个 Atlas 帐户。

  • AtlasM10+Google Cloud Platform在Google Cloud Platform上托管的Atlas 集群。

Google Cloud Platform您可以通过Atlas管理API或Atlas用户界面为您的Atlas项目设立具有访问权限策略的Google CloudAtlas AtlasAPIAtlasPlatform服务帐户。

您可以完全在AtlasGoogle Cloud Platform Data Federation用户界面中创建Google CloudAtlas Data Federation Platform服务帐户。

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 图标 Project Overview 旁边的图标。

显示项目设置页面。

2

单击 Integrations 标签页。

The Project Integrations page displays.

3

单击Google Cloud Platform的Configure 。Google Cloud Platform

Atlas 首次显示Authorize Google Cloud Service Account页面。 随后,Atlas 显示Google Cloud Service Account Access页面。

4
  1. 单击 Create Google Cloud Service Account(连接)。

  2. 在出现的模式窗口中,单击 Create。

  3. 单击Done 以完成GoogleGoogle Cloud Platform Cloud Platform服务帐户的创建。

Google Cloud PlatformAtlasAtlas您可以从Atlas AdministrationAPI API或Atlas 用户界面查看Atlas项目的所有Google CloudAtlas Platform服务帐户。

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 图标 Project Overview 旁边的图标。

显示项目设置页面。

2

单击 Integrations 标签页。

The Project Integrations page displays.

3

显示 Google Cloud Service Account Access 页面。该页面显示为您的项目配置的服务帐户列表。 对于每个服务帐户,该页面显示以下内容:

字段名称
说明
Service Account

服务帐户的ID 。

Created Date

创建服务帐号并将其与Atlas关联的日期。

Actions

您可以对关联的服务帐户执行的操作。 您可以执行以下操作:

  • Click to remove the service account authorization for Atlas.

  • Click to view service account details or create a federated database instance.

您可以从Atlas管理API或Atlas用户界面查看授权GoogleGoogle Cloud Platform AtlasCloudAPI AtlasPlatform服务帐户的详细信息。

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 图标 Project Overview 旁边的图标。

显示项目设置页面。

2

单击 Integrations 标签页。

The Project Integrations page displays.

3

显示 Google Cloud Service Account Access 页面。该页面显示为您的项目配置的服务帐户列表。

4

Atlas显示 Service Account Details窗口。您可以查看和复制有关授权服务帐户的以下信息:

字段名称
说明
Atlas GCP Service Account

IDAtlasGoogle Cloud PlatformAtlas Google Cloud Platform应用程序的ID 。

Service Account ID

服务帐户的ID 。

5

您无法删除当前正在使用的服务帐户。 Google Cloud PlatformAtlas您可以从Atlas AdministrationAPI API或Atlas 用户界面中删除未使用的Google CloudAtlas Platform服务帐户。

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 图标 Project Overview 旁边的图标。

显示项目设置页面。

2

单击 Integrations 标签页。

The Project Integrations page displays.

3

显示 Google Cloud Service Account Access 页面。该页面显示为您的项目配置的服务帐户列表。

4

Atlas 显示确认窗口。

5