- Set environment variable pointing to the key
$env:GOOGLE_APPLICATION_CREDENTIALS="/path/to/service_account_file.json"
(PowerShell)export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service_account_file.json"
(Bash)
- Run the app:
dotnet run -- /directory/to/upload