0

I have a GAE application written in python which serves serving_url() for images stored in google cloud storage of that project only and that is works properly. But the problem is when I'm trying to get serving url from different project (google storage) then it throws error AccessDenied. I'm new to pythonas well as google cloud so can anyone suggest me how can I authenticate to get serving_url() for the image which are stored in some other project.

1 Answer 1

2

You could add your different project's Service Accounts, with email similar to [email protected], as members with 'Editor' permission on the project that initially owns the GCS bucket you want to access. This can be done on the IAM page of the project that owns the bucket: https://console.developers.google.com/iam-admin/iam/project?project=yourDifferent (replace "yourDifferent" with the name of your different project).

More detail on service accounts may be gathered from the Service Accounts documentation page.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.