Skip to content

Conversation

@srevinsaju
Copy link

Sometimes, there are scenarios where keyring needs to be invoked from a docker container, and you would probably not want to install 'gcloud' in your docker container to keep it light weight. in these cases, its easier for the developer to create the access config file using gcloud outside the docker build, and then passing them as a docker secret.

a specific scenario: while using google cloud build along with docker buildkit, the google auth keyring does not work, because the docker builder needs to be building on --network=cloudbuild, but --network=cloudbuild is an unsupported network on docker buildkit builder

@google-cla
Copy link

google-cla bot commented Apr 21, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…al files to the keyring as environment variables

Sometimes, there are scenarios where keyring needs to be invoked from a docker container, and you would
probably not want to install 'gcloud' in your docker container to keep it light weight. in these
cases, its easier for the developer to create the access config file using gcloud outside the
docker build, and then passing them as a docker secret.

a specific scenario: while using google cloud build along with docker buildkit, the google auth keyring
does not work, because the docker builder needs to be building on --network=cloudbuild, but
--network=cloudbuild is an unsupported network on docker buildkit builder
@srevinsaju srevinsaju force-pushed the work/srevin/flexible-access-tokens branch from 160c783 to 0f7b86b Compare April 21, 2023 18:50
@srevinsaju srevinsaju marked this pull request as draft April 21, 2023 18:56
@srevinsaju srevinsaju marked this pull request as ready for review April 28, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant