Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Run --no-allow-unauthenticated #130

Open
sakajunquality opened this issue Apr 27, 2020 · 0 comments
Open

Cloud Run --no-allow-unauthenticated #130

sakajunquality opened this issue Apr 27, 2020 · 0 comments
Labels
oshi GCPの好きな機能

Comments

@sakajunquality
Copy link

sakajunquality commented Apr 27, 2020

Cloud Run --no-allow-unauthenticated

Document Link

https://cloud.google.com/run/docs/authenticating/developers
https://cloud.google.com/run/docs/authenticating/service-to-service

好きなところ

  • 簡単認証機能がつかえる
  • 呼び出す側に roles/run.invoker をもたせるだけでよい

ユースケース (optional)

  • Cloud Pub/Sub → Cloud Run
    • Push SubscriptionのSAの指定
  • Cloud Run → Cloud Run
    • 呼び出す側のSAの指定
  • Developer → Cloud Run
    • 社内用の簡単なAPIとか
    • curl -H "Authorization: Bearer $(gcloud auth print-identity-token)" {Runのurl}

更に欲しい機能 (optional)

IAPが使いたい気持ちになる時がある

@sakajunquality sakajunquality added the oshi GCPの好きな機能 label Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oshi GCPの好きな機能
Projects
None yet
Development

No branches or pull requests

1 participant