Coder Social home page Coder Social logo

Comments (7)

jasonjho avatar jasonjho commented on July 20, 2024

Turns out I had to apply the bindings to the AppEngine default service account (there are 2 for Flex) in addition to service-PROJECT_NUMBER@gae-api-prod.google.com.iam.gserviceaccount.com.

Not sure if this is unique to my instance or if the docs should be updated to reflect this.

from berglas.

sethvargo avatar sethvargo commented on July 20, 2024

I see a few things here:

from berglas.

jasonjho avatar jasonjho commented on July 20, 2024

Hi @sethvargo, thanks for clarifying. Yep, those typos were from just filling out the comment.

Follow up q: is it then, necessary (as per the examples) to apply policy bindings to the other Flex serviceaccount?

from berglas.

sethvargo avatar sethvargo commented on July 20, 2024

Hi @jasonjho

On all GAEs (Standard and Flex), the following SA exists:

In addition to the standard SA, Flex includes an additional SA:

service-PROJECT_NUMBER@gae-api-prod.google.com.iam.gserviceaccount.com

from berglas.

jasonjho avatar jasonjho commented on July 20, 2024

@sethvargo Yep, understood. From the Flex examples setup/readme, it says to grant the secret to:

SA_EMAIL=${PROJECT_NUMBER}[email protected]
berglas grant ${BUCKET_ID}/my-secret-config --member serviceAccount:${SA_EMAIL}

Given that there are 2 service accounts, which is the right service account to grant access to the berglas secret? Is it both? Just one? It would be helpful to understand why, in either case.

It's not clear.

from berglas.

sethvargo avatar sethvargo commented on July 20, 2024

I think it's actually just [email protected] for Berglas, but I don't/won't have time to test and verify that for a few weeks :frown:

from berglas.

stale avatar stale commented on July 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from berglas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.