Article 5GPX8 GCP and fuse

GCP and fuse

by
DBabo
from LinuxQuestions.org on (#5GPX8)
Hello,
i can't figure out how to use a service account while mounting a bucket.

how do i properly setup a service account and where do i use its json ?

as of right now I only created a service account and created a key for it. Didn't grant anything. After that, I replaced the /root/.config/gcloud/application_default_credentials.json with the key file for the service account.
When i try to mount - i get :
Code:[root@dell5000 ~]# mount /media/test/
Calling gcsfuse with arguments: -o nosuid -o nodev --gid 1000 -o rw -o noexec --uid 1000 -o allow_other media_storage_family_2021 /media/test
2021/04/16 23:46:46.900311 Using mount point: /media/test
2021/04/16 23:46:46.911456 Opening GCS connection...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: fs.NewServer: create file system: SetUpBucket: OpenBucket: Bad credentials for bucket "media_storage_family_2021". Check the bucket name and your credentials.
running gcsfuse: exit status 1
i read
https://github.com/GoogleCloudPlatfo...cs/mounting.md
https://blog.josephziegler.com/2019/...loud-fuse.html

but still confused.
Thank you in advancelatest?d=yIl2AUoC8zA latest?i=CR0L2R9ekHA:u9-37nk8hrI:F7zBnMy latest?i=CR0L2R9ekHA:u9-37nk8hrI:V_sGLiP latest?d=qj6IDK7rITs latest?i=CR0L2R9ekHA:u9-37nk8hrI:gIN9vFwCR0L2R9ekHA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments