Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GCP environments without workload identity (GCB). #652

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

dlorenc
Copy link
Member

@dlorenc dlorenc commented Sep 12, 2021

This requires the use of an environment variable called "GOOGLE_SERVICE_ACCOUNT_NAME"
to direct the client on which account to impersonate.

Signed-off-by: Dan Lorenc lorenc.d@gmail.com

Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we document how to use this in KEYLESS.md, since it is a bit tricky to get set up?

mattmoor added a commit to mattmoor/distroless that referenced this pull request Sep 12, 2021
This refactors the cosign script for distroless, so that the arguments are passed through from `cloudbuild.yaml`, and shifts where `-key ...` is passed to be in `cloudbuild.yaml`.

This is preparation to start *also* signing the distroless images with a "keyless" flow, once sigstore/cosign#652 lands and cosign 1.2 cuts.
This requires the use of an environment variable called "GOOGLE_SERVICE_ACCOUNT_NAME"
to direct the client on which account to impersonate.

Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
Signed-off-by: Dan Lorenc <dlorenc@google.com>
Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for the docs!

@dlorenc dlorenc merged commit 3f83940 into sigstore:main Sep 12, 2021
dlorenc pushed a commit to GoogleContainerTools/distroless that referenced this pull request Sep 12, 2021
This refactors the cosign script for distroless, so that the arguments are passed through from `cloudbuild.yaml`, and shifts where `-key ...` is passed to be in `cloudbuild.yaml`.

This is preparation to start *also* signing the distroless images with a "keyless" flow, once sigstore/cosign#652 lands and cosign 1.2 cuts.
@cpanato cpanato added this to the v1.2.0 milestone Sep 13, 2021
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.

3 participants