Skip to content

Commit da6dcd5

Browse files
authored
Correct path for GOOGLE_APPLICATION_CREDENTIALS
Fixes #340
1 parent f5aaaf8 commit da6dcd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GCP_alternative_students.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ This command moves the `key.json` file to a specific directory in your home fold
138138
Set the GOOGLE_APPLICATION_CREDENTIALS environment variable:
139139

140140
```bash
141-
echo "export GOOGLE_APPLICATION_CREDENTIALS='/~/code/${GITHUB_USERNAME}/gcp/key.json'" >> ~/.zshrc
141+
echo "export GOOGLE_APPLICATION_CREDENTIALS='~/code/${GITHUB_USERNAME}/gcp/key.json'" >> ~/.zshrc
142142
```
143143
This adds an export command to your `.zshrc` file, setting the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to the path of your key file. This allows Google Cloud client libraries to automatically find and use the credentials for authentication.
144144

0 commit comments

Comments
 (0)