How to Set Up Google Cloud Application Default Credentials

FileZilla Pro provides support for connecting using the Application Default Credentials.

Below you find a step by step guide, if you prefer you can watch our How to connect to Google Cloud Storage video tutorial.

Please follow the next steps to configure FileZilla Pro to connect to Google Cloud with Application Default Credentials.

  1. Open FileZilla Pro.
  2. In the menu bar, click on File › Site Manager….
  3. Click on New Site.
  4. From the Protocol drop-down list, select Google Cloud Storage with Service Account
  5. From the Logon Type drop-down list, select Application Default Credentials.
  6. Click Connect.

FileZilla Pro searches for credentials in the following order:

  • First, it checks the GOOGLE_APPLICATION_CREDENTIALS environment variable, which should point to a credentials JSON file.
  • If not found there, it looks for credentials from the gcloud tool, located in the following directories:

    • On Linux and macOS: $HOME/.config/gcloud/application_default_credentials.json
    • On Windows: %APPDATA%\gcloud\application_default_credentials.json

  • It also checks for credentials from the Google Cloud Environment (GCE) metadata server (if available). The default metadata server host is metadata.google.internal on port 443. You can specify a different host or host and port with the GCE_METADATA_ROOT environment variable.

If FileZilla Pro cannot locate any valid credentials using these methods, it will display an error message.

For more details, refer to Google Cloud documentation on Application Default Credentials.

FileZilla Pro

Google Cloud is just the start

FileZilla Pro connects to all major cloud storage providers from a single interface — no extra software, no credential juggling. Transfer files between your local machine and the cloud exactly as you would over FTP.

Amazon S3
Google Drive
Microsoft Azure
WebDAV
Dropbox
OneDrive

Get FileZilla Pro

Related Topics:

Tags: , ,