首页 > 解决方案 > Google Cloud Platform - 是否可以通过 Vault 从 GCP 访问 Secret Manager

问题描述

我们正在尝试通过 Terraform 配置 F5 2NIC BIG-IP。

我发现https://github.com/memes/terraform-google-f5-bigip/tree/main/examples/standalone-2nic文章通过 Terraform 配置 F5 2-NIC。

在本文中,他们使用 GCP Secret Manager 在运行 Terraform 时设置 F5 管理员凭据。在运行 Terraform 之前,我们必须在 Google Cloud Console 中手动为 F5 Admin 创建键/值对。

我们可以使用上述文章配置 F5 2NIC BIG-IP,但我的团队建议避免手动创建 GCP Secret Manager。他们期待一些自动化过程来创建 GCP Secret Manager,他们也建议使用 Vault。

我是否需要在 Vault 中创建一个键/值对,然后使用它在 Terraform 中为 F5 模块创建一个 Secret Manager 密钥,或者扩展 F5 模块以使用 Vault 对?

请提出正确的方向!

提前致谢!

标签: google-cloud-platformterraformvault

解决方案


推荐阅读