Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is gsutil cp secure for uloading sensitive data

I'm reading docs about how to use google cloud, particularly to store data on a bucket.

I can see the gcloud scp command to upload file to a VM in a secure way (highlighted in the doc).

To uload to a bucket, it's said to use gsutil cp

Is this command secure ? If I want to upload sensitive data, do I have to take more precautions (and how)

like image 228
Jice Avatar asked Feb 17 '26 12:02

Jice


1 Answers

As per the documentation:

By default, gsutil accesses Cloud Storage through JSON API request endpoints. You can change this default to the XML API.

The JSON API request endpoint is HTTPS - so assuming the security provided by HTTPS is sufficient for your needs, it should be fine. That won't guard against attacks if your local machine has been compromised with a bogus version of gsutil, but at that point all bets are probably off.

like image 114
Jon Skeet Avatar answered Feb 21 '26 15:02

Jon Skeet