-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.gcloud.example
More file actions
23 lines (17 loc) · 873 Bytes
/
.env.gcloud.example
File metadata and controls
23 lines (17 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# GCP Service Account Environment Variables (template)
# Copy to .env.gcloud and fill values, then `source ./set-gcloud-project.sh`
# Isolate gcloud config directory for this session
export CLOUDSDK_CONFIG=~/.gcloud-second-brain
# Set service account credentials (absolute path recommended)
export GOOGLE_APPLICATION_CREDENTIALS=/home/ed/Documents/edward/config/private.json
# Set active project
export CLOUDSDK_CORE_PROJECT=second-brain-482901
# Service account email
export CLOUDSDK_CORE_ACCOUNT=admin-second-brain@second-brain-482901.iam.gserviceaccount.com
# Default region/zone if needed
export CLOUDSDK_COMPUTE_REGION=us-central1
export CLOUDSDK_COMPUTE_ZONE=us-central1-a
echo "✅ GCloud environment configured for $CLOUDSDK_CORE_PROJECT"
echo "Config directory: $CLOUDSDK_CONFIG"
echo "Project: $CLOUDSDK_CORE_PROJECT"
echo "Account: $CLOUDSDK_CORE_ACCOUNT"