googleGoogle Cloud Platform (GCP)

Follow these steps to set up a Read-Only Access Service Account on Google Cloud Platform (GCP).

Step 1: Log in to Google Cloud Console

  1. Sign in with your administrator account.

Step 2: Create a Service Account

  1. Navigate to IAM & AdminService Accounts.

  2. Click Create Service Account.

  3. Provide a Name (e.g., nebu-readonly).

  4. Click Create and Continue.

Step 3: Assign the Predefined Viewer Role

  1. Under Grant this service account access to the project, click Add Role.

  2. Search for the predefined role:

    • roles/viewer

  3. Select the Viewer role and click Continue.

Step 4: Generate and Download a JSON Key

  1. After creating the service account, go to the Keys tab.

  2. Click Add KeyCreate New Key.

  3. Choose JSON format and download the file securely.

Step 5: Enable Required APIs

Step 6: Create Custom Read-Only Storage Role

NEBU needs storage.buckets.getIamPolicy permission, which isn't included in roles/storage.objectViewer. We'll create a minimal custom role:

🛡️ Step 7: Apply Read-Only Permissions

Final Step: Use the JSON Key in NEBU Initialization

  1. Use the values from the downloaded JSON key file in NEBU’s initialization process.

  2. NEBU will securely use this key to analyze your cloud environment with read-only permissions.

Last updated