oidc-provider-plugin icon indicating copy to clipboard operation
oidc-provider-plugin copied to clipboard

Allow passing in private/public key from casc

Open patrickpichler opened this issue 2 years ago • 13 comments

What feature do you want to see added?

In our setup, the jenkins instance is wiped with each redeploy and recreated from casc. This is done to enforce people to configure their jobs/configuration as code.

Of course this doesn't play well with the OIDC provider plugin, as the secret get re-created on each jenkins redeploy.

My proposed solution would be, to allow passing in private/public key via constructor and thus allowing it to be specified in casc. Of course you would not check in the value as plain text, but pass them in via environment variables.

Upstream changes

No response

patrickpichler avatar Oct 11 '22 05:10 patrickpichler