Protect file system data

You have several options for protecting the data and resources that you transfer.

Protecting your file system resources

Agents access files from the environment they are running in. This means that you have several ways that you can protect access to your data:

  • Using a restricted user or role account to run the agent container.

  • Limiting the file systems that are mounted to the agent container.

  • Choose NFS mount permissions in accordance with your security policies, such as no write access.

  • Restricting agent directory access.

Protecting data in-flight

Storage Transfer Service encrypts your data over an HTTPS session with TLS for both connections through the public internet, and through private connections (such as Cloud Interconnect). If you are using Cloud Interconnect, you can obtain an additional layer of security by using private API endpoints.

Protecting Google Cloud resources

Agents use gcloud auth to connect to Storage Transfer Service and Cloud Storage resources used during the transfer. Therefore your Google Cloud resources are protected using Identity and Access Management and the account that you choose to provision for transfer agent use. You may also use a service account, which can help make permissions management easier to use.

IAM

Storage Transfer Service provides the following predefined IAM roles:

  • Storage Transfer Admin — Provides all Storage Transfer Service permissions.

  • Storage Transfer User — Can create, run, and monitor jobs, and can create and update agent pools and their bandwidth limits, but can't delete jobs or agent pools.

  • Storage Transfer Viewer — Read-only access to jobs, operations, and agent pools.

You can also use custom roles. The Google Cloud console might not work properly if a custom role is missing required permissions.