-
Notifications
You must be signed in to change notification settings - Fork 639
Description
GAE
GAE support is still underway so I'll leave this part out for now.
GCE
I created an instance:
$ gcloud compute instances create silliestcloud --scopes https://www.googleapis.com/auth/datastore https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/devstorage.full_controlAnd initiate gcloud like this:
var gcloud = require('gcloud');
var dataset = new gcloud.datastore.Dataset();
var bucket = new gcloud.storage.Bucket({
bucketName: 'sillycloud'
});When accessing a file from my bucket, everything goes smoothly. However, when trying to run a query on my dataset, I get a 403:
Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.
I'm able to retrieve a token without an issue, but still receive that error after making the request. Any idea if this is a problem with my project/account, or a problem with gcloud?
After reading Authenticating from Google Compute Engine, I saw a line:
When you create a Google Compute Engine project, Google Compute Engine also creates a service account for that project. This service account authenticates the project to other Google services but you can also use the service account to authenticate your instances to other APIs. This is ideal for cases when you have applications running within instances that need to programmatically talk between services but don't need access to user data.
Any chance our need for the userinfo.email scope could qualify for "user data"?