Skip to content

OIDC provider debugging #3727

@wlynch

Description

@wlynch

Description

When trying to run cosign (particularly on a non-local workstation) it would be nice to have a command to confirm the OIDC provider behavior of what is/isn't enabled and in what order they are evaluated in.

$ cosign debug providers
filesystem: false
envvar: false
github-actions: false
buildkite-agent: false
spiffe: false
google-workload-identity: true
google-impersonate: false

This should be pretty easy to add - we would only need to expose the providers info + add a new subcommand. (I'm happy to make a PR for this)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions