kubectl-passman icon indicating copy to clipboard operation
kubectl-passman copied to clipboard

Is there a way to support DEX OIDC

Open mikebell90 opened this issue 5 years ago • 1 comments

I took a quick look at the code, and I'm probably not grokking something, because I don't see why you need to parse anything at all ;)

Anyway the typical dex oidc looks like

    auth-provider:
      config:
        client-id: k8s-dex-app
        client-secret: (redacted)
        id-token: (redacted)
        idp-issuer-url: https://k8s-central-pp-sf.otenv.com/dex
        refresh-token: (redacted)
      name: oidc

mikebell90 avatar Apr 29 '20 18:04 mikebell90

Hey, I parsed so that it could be put into separate fields in a password manager for easier management, not that essential, but changing it would be a breaking change. Could absolutely support that, PRs welcome :)

chrisns avatar Apr 29 '20 20:04 chrisns