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.1k Views Asked by ian-campbell At
1
There are 1 best solutions below
Related Questions in GOOGLE-CLOUD-STORAGE
- Google Cloud Storage sort directory by name
- Creating a scalable database for android app | cloud hosted
- Reading/writing to Google Storage from Google Compute Windows 2008 VM
- Reading PlayStore csv review files from Google storage bucket using Java App Engine
- How to update ACL of a file in Google Cloud Storage using Java API
- How do i change files using ftp in google cloud?
- Downloading files from Google Cloud Bucket onto Google Compuete Engine Instance Startup (.NET)
- Google Cloud Storage: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received
- Google Cloud Storage authentication: restrict permissions without creating additional Google Accounts
- Where is the retrying logic in the Google Cloud Storage go client?
- Google Storage Incorrect Authorization Header with Amazon S3 PHP SDK v3
- Upload a file via google cloud Endpoints to google cloud Storage via Android Client
- Map tasks with input from Cloud Storage use only one worker
- How to Create Google Cloud Storage Signed Urls on App Engine Python
- Password protect site hosted on Google Cloud Storage
Related Questions in BOTO
- Unable to access files from public s3 bucket with boto
- InstanceProfile is required for creating cluster - create python function to install module
- S3BotoStorage and Unit Testing
- Check Domain Availability using Boto Route53
- Getting higher number of aws snapshot than the snapshots I've in my AWS account
- How do I Start/Stop AWS RDS Instances using Boto?
- AmazonS3 - connecting with Python Boto according specific permissions
- Why won't Boto commands run in UserData when outbound traffic permissions are locked down?
- Shell Script for AWS EC2 init
- Check A-Record Status using Boto Route53 after creation
- AttributeError: 'Table' object has no attribute 'update_item' - DynamoDB v2 API
- Fetching ElastiCache Tags
- How to find Unused Security Groups of all AWS Security Groups?
- Boto MWS Python Response issue
- Why is this python boto S3 multipart upload code not working?
Related Questions in GSUTIL
- Gsutil - Issue with downloading data from GCS buckets
- Upload "public" directory to Google Cloud Storage
- The rsync command accepts at most 2 arguments in command line
- GCS CLI: using “gsutil rm” to remove files by creation date
- How Can I make gsutil cp skip false symlinks?
- gsutil du with asterisk
- Boto GCS authentication setup failure: no such file
- Can't access resource as OWNER despite the fact I'm the owner
- Mass rename objects on Google Cloud Storage
- Installing gsutil on Windows
- Automatic Parallel Composite Uploads on GAE for Python
- List Google Cloud Storage buckets using Python
- Set up logging 4 Google Cloud storage: Need your help people
- Dataproc PySpark Workers Have no Permission to Use gsutil
- Empty file when output is written to a file (python gsutil run from cmd)
Related Questions in UBUNTU-14.10
- Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2
- qtcreator cmake "No executable specified"
- The EER diagram editor is not displaying column data and other information
- Boto GCS authentication setup failure: no such file
- phpmyadmin complains about permissions and open_basedir - but they all appear correct
- Weird interaction between gvm, .profile and lightdm Ubuntu 14.10
- Android studio build error on ubuntu install
- Clang 3.4 does not look in correct places for the libstdc++ libraries
- Clang++ 3.5.0 -rdynamic
- How can I install wxPython 3.0.1.1 in Python 2.7 virtualenv on Ubuntu 14.10?
- Running Freepascal compiler in a docker container
- How to get only sha512sum of a file in Ubuntu 14?
- How to install libicu-dev on Ubuntu
- How to resize image with keeping the original image resoultion and quality using imageMagick
- In host machine, cannot connect webserver, vagrant
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)
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?
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.