IntegrationsCloud Provider Integrations
GCP Integration
Learn how to integrate GCP with Cokpit
GCP Credentials
Step 1: Create Credentials on GCP
Example: Service Account Key
-
Go to the Google Cloud Console.
-
Navigate to IAM & Admin → Service Accounts.
- Click Create Service Account.
- Enter a name and description, then click Create.
- Assign a role (e.g.,
Owneror required roles).
- Click Done.
- Find your service account, click ⋮ menu → Manage keys.
- Click Add Key → Create New Key → JSON.
- Download the JSON key file.
💡 Tip: Keep the JSON key file safe; you'll need it for the next step.
Step 2: Add GCP Credentials to Cokpit
-
Open Cokpit and go to Integrations → Cloud Provider → GCP.
-
Click Add secret.
-
Fill in the required fields:
- Enter a unique Secret Name
- Enter your Project ID
- Set the Output Format (defaults to json)
- Upload the JSON key file you downloaded
-
Click Submit.
Security Best Practices
- Use service accounts with minimum required permissions
- Rotate service account keys regularly
- Keep JSON key files secure and never share them
- Monitor GCP audit logs for security events
- Follow GCP security best practices