Auto-detection of the project ID for gcloud. (#1028)

This commit is contained in:
James 2020-01-04 11:18:34 -05:00 committed by Ludovic Fernandez
parent ca42cc42a0
commit 4f72de468d
7 changed files with 99 additions and 9 deletions

View file

@ -30,7 +30,7 @@ _Please contribute by adding a CLI example._
| Environment Variable Name | Description |
|-----------------------|-------------|
| `Application Default Credentials` | [Documentation](https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application) |
| `GCE_PROJECT` | Project name |
| `GCE_PROJECT` | Project name (by default, the project name is auto-detected by using the metadata service) |
| `GCE_SERVICE_ACCOUNT` | Account |
| `GCE_SERVICE_ACCOUNT_FILE` | Account file path |