Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Storage doesn't work with Google Apps?

I'm trying to use the Google Cloud Storage API which is published now under the Docs section of the App Engine site. The documentation states you have to add the appengine service account as a team member in the API-console. However, we're using Cloud Storage within a Google Apps domain, which only allows users from that domain to be added as team members. So, isn't possible add the service account (which [email protected]) ?. Is there any workaround ?

like image 266
themihai Avatar asked Apr 13 '12 19:04

themihai


2 Answers

Yes, you can use GSUtil to add the service account to the ACL of the bucket.
See my related answer on the subject.

like image 150
Shay Erlichmen Avatar answered Nov 15 '22 05:11

Shay Erlichmen


Here's my answer from a similar question yesterday - The advantage here is that it will be easier to access other developer APIs that use the team configured in the developer console with the App Engine application.

You can use a google group to make this work for your custom domain.

In the cpanel for managing your domain go to the 'groups' tab and add a new group that will be for your app.
Add the service account *.gserviceaccount.com as a member to the group that you have created.
Add the group to the team for your project at https://code.google.com/apis/console.

like image 24
Stuart Langley Avatar answered Nov 15 '22 03:11

Stuart Langley