Skip to content

Commit

Permalink
Remove the hardcoded sigstore audience
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
  • Loading branch information
mattmoor committed Mar 31, 2022
1 parent ac682db commit 2d419e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/google/google.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (gi *googleImpersonate) Enabled(ctx context.Context) bool {
func (gi *googleImpersonate) Provide(ctx context.Context, audience string) (string, error) {
target := os.Getenv("GOOGLE_SERVICE_ACCOUNT_NAME")
ts, err := impersonate.IDTokenSource(ctx, impersonate.IDTokenConfig{
Audience: "sigstore",
Audience: audience,
TargetPrincipal: target,
IncludeEmail: true,
})
Expand Down

0 comments on commit 2d419e7

Please sign in to comment.