sftpgo/docs/google-cloud-storage.md
Nicola Murino 8306b6bde6 refactor virtual folders
The same virtual folder can now be shared among users and different
folder quota limits for each user are supported.

Fixes #120
2020-06-07 23:30:18 +02:00

1.2 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 "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 folder and its contents. The 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.