Enable permissions to access GCR
Prerequisites:
Enable the Cloud Resources Manager API for the Google account you plan on integrating with Snyk.
From the relevant project in Google, ensure the you've created a service account for this Snyk integration.
Steps:
  1. 1.
    Go to the Google Cloud Platform Console Credentials page, select the project that you want to integrate with, and then select to set up a new service account key.
  2. 2.
    From the view that loads, choose the service account from the dropdown list that you created for this integration, and configure a new key for that account with these values:
    • Service account name - assign a unique name for the account in order to remember its uses later on.
    • Role - Storage Object Viewer (roles/storage.objectViewer).
    • Service account ID - leave empty
    • Key type - JSON
  3. 3.
    Click Create The key is generated for your project.
  4. 4.
    Copy the entire contents of the JSON file, which appears similar to the following:
GCR_key_file_contents.png
Save the data you copied in order to paste it when configuring the integration with Snyk.
Next steps:
Now, configure the integration: Configure integration for GCR.
Last modified 2d ago
Export as PDF
Copy link
Edit on GitHub