I am trying to set Boto to work with GCS with Oauth2 authentication. Gsutil config -e begins the authentication process, but when it asks "What is the full path to your private key file?" I get OSError: No such file or directory.
Why would this happen? It doesn't work with the .json version of the private key file either. I wish Boto for GCS didn't need a path to the private key file.
Boto GCS authentication setup failure: no such file
1.2k views Asked by ian-campbell At
1
There are 1 answers
Related Questions in GOOGLE-CLOUD-STORAGE
- Permission 'storage.buckets.get' denied on resource (or it may not exist)
- Parametrizing backend in terraform on gcp
- Download file from GCP bucket without using decompressive transcoding by default
- CORS Error When Fetching File From Firebase Storage
- Google cloud storage: move specific zip files from one bucket to another
- Flutter upload file to Firebase storage
- Deploy Springboot app on heroku which is using google storage services
- List all the files in firebase storage date wise and zip it using cloud function
- How to Handle NUL (ASCII 0) Data Error When Loading TSV GZIP File from Google Cloud Storage into BigQuery
- getting ValueError: Cannot determine path without bucket name
- GCP Workload Identity Federation in java
- How to find a file with specific file name pattern in GCS bucket using Python
- getSignedURL() called from firebase cloud function gives permission denied error ( firebase-functions v2)
- Clone/ Backups for BigQuery Project
- NGINX won't run alongside Google Cloud Storage FUSE in Docker container
Related Questions in BOTO
- botocore >= 1.28.0 slower in multithread application
- How to set timeout and retry strategy when I enrypt/decrypt data using python aws_encryption_sdk?
- How to save logs, to S3Boto3Storage, with Django Logging
- Asyncio with boto and for range?
- AWS::SNS::Subscription not created by moto by CloudFormation.create_stack
- Lookup Key from S3 Bucket using Boto
- Sending data from LAMBDA FUNCTION to AWS IOT TWIN MAKER
- get-log-events returns only a few results of many
- AWS DynamoDB Delete Item
- S3FS fails when given aiobotocore session to initialize the File System
- How to get verification code/change password code in boto3?
- Cannot SSH on to AWS EC2 instance created using Boto
- How to get all error logs from aws cloudwatch using boto3
- S3:HeadObject returns 403 on MinIO instance proxied by Cloudflare
- Which boto or boto3 version for sts.get_session_token?
Related Questions in GSUTIL
- Unable to download data from Google Cloud Storage to local directory using Google Cloud SDK Shell
- how to prepend value in content-disposition metadata for all files of GCP bucket wth gs util
- Google Cloud Storage: How make a recursive copy with storage class filter
- How can a billing project be stated in Google's command line tool `gsutil cp` on Linux?
- What can I do to make the "gcloud beta interactive" feature work for the "gsutil" and "bq" commands in the Google Cloud SDK?
- Gsutil does not work on gcloud, but localy works
- GCS - Secure Way to Authenticate to GCS From On-Premises Server
- Resumable copying of a large file to GCS
- Sync Images from google server disk to Bucket
- GCP: can we use output of one GSUTIL command embedded in other GSUTIL command
- Setting cors on my GCP bucket not making a difference when accessing data from my bucket
- Cannot Connect to Google Cloud Storage from Google Compute Engine Virtual Machine
- Import Firebase DB from same region Bucket fails
- What happen if gsutil mv command fails?
- Google Cloud Storage - How do I copy a specific blob version (not the latest) via the CLI gsutil prompt?
Related Questions in UBUNTU-14.10
- How to get only sha512sum of a file in Ubuntu 14?
- Decrypting the openssl library generated cipher on the terminal and vice versa
- Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2
- error while installing mongodb or postfix in ubuntu
- How to run STS on Java version 1.7
- How to install 'x2goserver' and 'x2goserver-xsession' on Ubuntu?
- sudo apt-get update error on Ubuntu 14.10
- python-tk have unmet dependencies
- start-dfs.sh -not working - localhost: Bad port 'localhost' (Hadoop 2.7.1)
- Auto start and join google video hangout in chrome browser from ubuntu terminal
- Maven Installation in linux fails with "The following packages have unmet dependencies" error
- Why is laravel showing a server error
- r-base Impossible to find package
- Ubuntu 14.10 AMD graphics card driver
- spatial view fails with a function_clause error
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I made it work by skipping
gsutil config -e. I went to my Windows computer where Boto was authenticated, and copied the.botofile to my home directory in Ubuntu. In the .boto file under [Credentials] the un-commented lines with authentication keys had to be updated for this machine. Everything works now. The relevant part of the .boto file:If you are having trouble getting Boto set up with service account credentials you can paste the above into your .boto file and change the values to your credentials. There were four other lines in the file that were un-commented:
I include them here just in case. Hopefully your terminal works and you can just use
gsutil config -eto set up Boto.