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.
- Open FileZilla Pro.
- In the menu bar, click on File › Site Manager….
- Click on New Site.
- From the Protocol drop-down list, select Google Cloud Storage with Service Account
- From the Logon Type drop-down list, select Application Default Credentials.
- 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.
Related Topics: