How to Create a Google Cloud Service Account Key
How to Create a Google Cloud Service Account Key (JSON)
This guide explains how to create a service account key in JSON format to enable secure authentication for applications accessing Google Cloud services.
🔧 Step-by-Step Instructions
1. Open the Google Cloud Console
Navigate to: https://console.cloud.google.com/
2. Go to the “Service Accounts” Section
In the main menu, go to: IAM & Admin → Service Accounts Or use this direct link: https://console.cloud.google.com/iam-admin/serviceaccounts
3. Create a New Service Account (If Needed)
-
Click “Create Service Account”
-
Fill in:
- Service account name
- ID (auto-generated)
- Description (optional)
-
Click Create and Continue
-
Assign appropriate roles based on what permissions the service needs. Example roles:
Storage Admin
for Google Cloud StorageEditor
orViewer
for general access
-
Click Done
4. Generate the JSON Key
- Locate the service account in the list
- Click the three dots (︙) on the right → Manage keys
- Click Add Key → Create new key
- Choose JSON as the key type
- Click Create
This downloads a .json
file to your machine.
Keep this file safe—it contains sensitive credentials.
danger
Important Security Note:
- 🔒 Do not share the key or commit it to version control (e.g., GitHub).
- 📁 Store it securely, such as in a secret manager or an environment-protected folder.
- Nocodo AI stores your Credentials securely. The only way they can be accessed is when you execute your projects.