This readme covers how to use rclone to interact with data stored in the bucket related to this repository.
- Object Storage: "Object Storage (also known as object-based storage) is a computer data storage that manages data as objects, ..."
- Bucket: "Buckets are the basic containers that hold your data [on Google Cloud Storage]."
- Objects: "Objects are the individual pieces of data that you store in Cloud Storage."
- rclone: "Rclone is a command-line program to manage files on cloud storage."
The general procedure for gaining access to data stored within a Cloud Storage bucket may be segmented into steps for a Terraform Administrator and a Data receiver (roles are outlined under the root README.md Roles section).
- Communicate with Data receiver about need for Google account.
- Add Data receiver Google account to bucket access as a principal.
- The principal should have
Storage Object Viewer
andStorage Legacy Bucket Reader
roles assigned for data full data read access.
- The principal should have
- Communicate with Data receiver about data access readiness with their account and the bucket name (for example
gc-bucket-alsf-predicting-nuclear-speckles
).
- Install rclone.
- Configure rclone with Google Cloud Storage.
- Test access to Google Cloud Storage bucket with the configured rclone access using, for example,
rclone ls <configured_name>:gc-bucket-alsf-predicting-nuclear-speckles
- Download or synchronize data found within bucket by using
rclone
commands.- Please note: many rclone commands are recursive by default with options to disable.
- An example with the copy command:
rclone copy <configured_name>:gc-bucket-alsf-predicting-nuclear-speckles