How to Set Up Google Cloud Application Default Credentials

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

This feature is only available on FileZilla Pro, if you didn’t buy it yet you can buy FileZilla Pro from our Store.

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 Application Default Credentials.

Related Topics:

Tags: , ,