Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.25 KB

File metadata and controls

36 lines (27 loc) · 1.25 KB

CheckRed's GCP App Integration

Project Setup

Google Cloud Platform organizes resources into projects. Select your GCP project to integrate with CheckRed Platform

Enable IAM API for generating short-lived credentials & impersonating service accounts.

gcloud services enable iamcredentials.googleapis.com --project=<walkthrough-project-id/>

Create service account for CheckRed platform integration

gcloud iam service-accounts create checkred-integration-account --display-name "CheckRed Integration" --project=<walkthrough-project-id/>

Add IAM policy to service account created in above step

gcloud projects add-iam-policy-binding <walkthrough-project-id/> \
  --member="serviceAccount:<your-service-account>@<walkthrough-project-id/>.iam.gserviceaccount.com" \
  --role="roles/iam.viewer" --project=<walkthrough-project-id/>
gcloud projects add-iam-policy-binding $(PROJECT_ID) \
  --member="test-sts-checkred-external-aco@checkred-external-app.iam.gserviceaccount.com" \
  --role="roles/iam.serviceAccountTokenCreator" --project=<walkthrough-project-id/>

Congratulations

You’re all set!