Configview secrets setup
Configview secrets setup
✅ Step 1: Create a Google Cloud Project
💳 Note: Google requires you to set up a billing account to use projects. If you don’t have one, you’ll need to create it before proceeding. This ConfigView integration does not incur any cost in Google Cloud. If you already have a billing account, simply choose your Organization and Location during project creation.
- Go to: https://console.cloud.google.com/
- Click the project dropdown (top-left) > New Project
- Recommended Project Name:
configview-integration
- Choose your Organization and Location
- Click Create
- Select the project from the dropdown
✅ Step 2: Enable Required APIs
In the configview-integration
project:
- Go to: https://console.cloud.google.com/apis Click Enable API’s and services.
- Enable the following APIs by searching for them and clicking on the links below:
✅ Step 3: Create a Service Account and JSON Key
- Visit: Service Accounts
- Click + CREATE SERVICE ACCOUNT
- Name it:
configview-sa
Note: The Service Account ID generated will also need to match this name. - Click Create and Continue
- (Optional) Skip assigning roles
- Click Done
- Open the service account > Click Keys > click Add Key > Create new key > choose Json > click Create.
- Go back to Details > Click Advanced Settings.
- Set product name to:
ConfigView App
- Enable G Suite Domain-wide Delegation.
- Click Save.
✅ Step 4: Rename JSON Key
- A key file was downloaded in the previous step.
- 🔁 Rename the file to:
google_admin.json
This is required for ConfigView to authenticate with Google Workspace.
✅ Step 5: Authorize Domain-Wide Delegation in Google Admin
- Go to the service account Details tab in Google Cloud Console.
- Click Advanced Settings.
- Copy the Client ID: This will be a long string of numbers.
- Click the link: “View Google Workspace admin console” to open the Google Admin console in a new tab.
- In the Google Admin console, navigate to:
* Security > Access and Data Control > API Controls 6. Scroll to Domain-wide Delegation > click Manage Domain-Wide Delegation 7. Click Add New 8. Paste the Client ID you copied earlier. 9. Paste the following scopes: 10.You can select and paste the scopes
11.Click Authorize
✅ Step 6: Upload Credentials to ConfigView
- Visit: https://configview-dashboard-frontend.vercel.app/admin/external
- Upload the renamed google_admin.json file
- Go to https://configview-dashboard-frontend.vercel.app/admin/secret/ and add the admin email (The Google Workspace superadmin email you used to add the project scopes)
- You’re done!
🗑️ Note: You should delete the JSON file from your computer after upload to avoid security risk.