Configure a Google Cloud Storage target
You can migrate data to a Google Cloud Storage bucket by configuring it as a target filesystem for Data Migrator.
Follow these steps to create a Google Cloud Storage target:
Prerequisites
You need the following:
- A Google Cloud Storage bucket.
- A Service Account with at least Storage Admin role permissions to your Google Cloud Storage bucket.
Configure a Google Cloud Storage target filesystem with the UI
- From the Dashboard, select an instance under Instances. 
- In the Filesystems & Agents menu, select Filesystems. 
- Select Add target filesystem. 
- Enter the following details: - Filesystem Type - The type of filesystem target. Select Google Cloud Storage.
- Display Name - Enter a name for your target filesystem.
- Bucket Name - Enter the name of your Google Cloud Storage bucket.
- Key File Options - Select either Upload JSON Key File or Hashicorp Vault if you have configured a Vault for secrets storage. - Hashicorp Vault - In the Key File path in secrets store field, enter the Hashicorp Vault reference to the location of the content of the GCS Key File using the Reference format.
- Upload JSON Key File - Drag and drop your key file into the box below or select Browse to browse your local machine for the json file.
 
 info- If using the Upload JSON Key File option, Data Migrator imports Google Cloud Storage credentials from your JSON key file, stores them internally as configuration properties, then removes the file. 
- Select Save. 
Configure a Google Cloud Storage target filesystem with the CLI
To create a Google Cloud Storage target, run the filesystem add gcs command in the Data Migrator CLI:
filesystem add gcs --bucket-name mygcsgbucket --file-system-id GCS2 --service-account-json-key-file-server-location /var/tmp/key-999999.json
See the filesystem add gcs command for information on all available options.
Next steps
If you haven't already, configure a source filesystem from which to migrate data. Then, you can create a migration to migrate data to your new Google Cloud Storage target.