Unable to use gsutil despite doing authentication steps

840 views
Skip to first unread message

Paul Canning

unread,
Mar 20, 2015, 8:08:13 AM3/20/15
to google-a...@googlegroups.com
As per the title, I am unable to use gsutil CLI despite running "gcloud auth login" and trying "gsutil config"

It seems to let me authenticate, but when I try to run a command such as "gsutil ls" I get:

You are attempting to access protected data with no configured
credentials. Please visit https://cloud.google.com/console#/project
and sign up for an account, and then run the "gcloud auth login"
command to configure gsutil to use these credentials.

But these steps I've already done. 

Vinny P

unread,
Mar 23, 2015, 2:40:18 AM3/23/15
to google-a...@googlegroups.com
Hi Paul,

After you authenticate, can you look in gsutil's config file and see if any changes were made? If you move the configuration file setting, does it start to work? Here's how to locate the config file: https://cloud.google.com/storage/docs/gsutil/commands/config#configuration-file-selection-procedure

 
 
-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
 
 

Paul Canning

unread,
Mar 23, 2015, 4:01:16 AM3/23/15
to google-a...@googlegroups.com

Turns out it was due to a current bug where you can't run it from any driver other then C:

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/0a_opNjZ5ZY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALSvALDkG_OA511gA6WJgUo9qM3T_%2BPiUvEiYLHFerxyzj4qzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages