sftpgo-mirror/docs/google-cloud-storage.md
2020-03-22 20:17:36 +01:00

1.3 KiB

Google Cloud Storage backend

To connect SFTPGo to Google Cloud Storage you can use use the Application Default Credentials (ADC) strategy to try to find your application's credentials automatically or you can explicitly provide a JSON credentials file that you can obtain from the Google Cloud Console. Take a look here for details.

Specifying a different key_prefix, you can assign different virtual folders of the same bucket to different users. This is similar to a chroot directory for local filesystem. Each SFTP/SCP user can only access the assigned virtual folder and its contents. The virtual folder identified by key_prefix does not need to be pre-created.

You can optionally specify a storage class too. Leave it blank to use the default storage class.

The configured bucket must exist.

Google Cloud Storage is exposed over HTTPS so if you are running SFTPGo as docker image please be sure to uncomment the line that install ca-certificates, inside your Dockerfile, to be able to properly verify certificate authorities.

This backend is very similar to the S3 backend, and it has the same limitations.