リクエストには、アプリケーションが必要とするメソッドとユーザー情報のみにアクセスを制限するアクセス スコープを指定します。 Google Cloud全体のサービスと必要なスコープの一覧については、
Google API の OAuth 2.0 スコープをご覧ください。
mTLS を使用してワークロード間で認証を行う
マネージド ワークロード ID を使用して、アプリケーションまたはワークロードを認証できます。この認証方法では、サービス アカウント、認証局(CA)プール、マネージド ワークロード ID を使用します。
マネージド ワークロード ID を使用すると、厳密に証明された ID を Compute Engine ワークロードにバインドできます。 Google Cloud は、Certificate Authority Service から発行された X.509 証明書をプロビジョニングします。この証明書は、相互 TLS(mTLS)認証でワークロード間の認証を確実に行うために使用できます。
ワークロードは、相互 TLS(mTLS)を使用して他のワークロードを認証する際に、マネージド ワークロード ID を ID として使用します。ワークロードは、他のGoogle Cloud サービスとリソースにアクセスするときに、その ID としてサービス アカウントを使用します。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-06 UTC。"],[[["This document outlines how to authenticate applications or workloads in production on Compute Engine or during local testing for future deployment."],["Workloads running on Google Cloud VMs in production should use the attached service account for authentication to access Google APIs."],["Workloads in development can utilize the Google Cloud SDK and Application Default Credentials for authentication, and for access to end-user resources, they can leverage OAuth 2.0."],["Managed workload identities are available for strongly attesting identities to Compute Engine workloads, using X.509 credentials for mutual TLS (mTLS) authentication between workloads."],["Managed workload identities can authenticate to other workloads using mTLS, while the service account provides authentication to other Google Cloud services."]]],[]]