1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-06 23:12:22 +00:00
terraform-playground/iap
Jason Hall 64e62489df
add IAP example
Signed-off-by: Jason Hall <jason@chainguard.dev>
2024-07-04 09:19:48 -04:00
..
.gitignore add IAP example 2024-07-04 09:19:48 -04:00
go.mod add IAP example 2024-07-04 09:19:48 -04:00
go.sum add IAP example 2024-07-04 09:19:48 -04:00
main.go add IAP example 2024-07-04 09:19:48 -04:00
main.tf add IAP example 2024-07-04 09:19:48 -04:00
README.md add IAP example 2024-07-04 09:19:48 -04:00

GCP Identity-Aware Proxy + Cloud Run

This is a simple example of how to use GCP Identity-Aware Proxy (IAP) to protect a Cloud Run service.

This sets up a GCLB and public hostname for the IAP-protected Cloud Run service.

Only certain users can access the Cloud Run service via the IAP-protected URL.

When those users access the service, it receives a signed token that can be used to verify the user's identity.