On Fri, Nov 22, 2013 at 8:57 PM, <[email protected]> wrote: > I have a Google Cloud Console Account set up with billing enabled, have > enabled the Google Cloud Storage API, and have created a bucket called > my_bucket. But I'm not clear about how to provide my apps with > authorization to access to my_bucket... I don't understand how to attach > the ServerKey / APIKey to our library code to accomplish authorization. >
You don't need to attach any keys to your code. App Engine and Cloud Storage handle authentication for you. Log in to the cloud console, select the application you're using, then open up the Cloud Storage menu. Check the box next to the bucket you're using, then press the Bucket Permissions button. You'll see a screen similar to this: http://imgur.com/gadnQEF . All you need to do is insert *(your application id) @ appspot . gserviceaccount . com* (without spaces) as a privileged user on the bucket. >From here, your application will have access to the bucket. Just open a channel to the bucket using the GCS library, and GAE will handle authenticating to the bucket. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
