【发布时间】:2021-11-03 21:08:23
【问题描述】:
我使用 Google Cloud Platform 的 Cloud Build 部署了一个网站,其 yaml 文件如下所示:
- name: "gcr.io/cloud-builders/gcloud"
args:
- "run"
- "deploy"
- "my-app"
- "--image"
- "gcr.io/$PROJECT_ID/appcicd:latest"
- "--region"
- "europe-west2"
- "--platform"
- "managed"
- "--allow-unauthenticated"
使用上面的代码,我已允许任何拥有 URL 链接的人访问该网站。
例如,如何将上述网站访问限制为公司域 Active Directory?假设公司域使用的是 Gmail 帐户。
谢谢。
【问题讨论】:
-
什么是活动目录域?一个域名?例如
@active.directory.domain?
标签: authentication google-cloud-platform active-directory gmail google-cloud-run