-
Bug
-
Resolution: Unresolved
-
Minor
JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array.
Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC
Workaround: "cat file.pkcs | base64"
[JENKINS-57845] provide configurator/databound setter for certificate credential (PKCS12 and so on)
Summary | Original: provide configurator/databound setter for certificate credential | New: provide configurator/databound setter for certificate credential (PKCS12 and so on) |
Description |
Original:
JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array. Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC https://github.com/jenkinsci/credentials-plugin/blob/bddcf41ba3388cb54126e3f626b3deb7d65e3b53/src/main/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImpl.java#L677 |
New:
JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array. Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC [https://github.com/jenkinsci/credentials-plugin/blob/bddcf41ba3388cb54126e3f626b3deb7d65e3b53/src/main/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImpl.java#L677] *Workaround*: "cat file.pkcs | base64" |
Assignee | New: Joseph Petersen [ jetersen ] |
Assignee | Original: Joseph Petersen [ jetersen ] |
See https://github.com/jenkinsci/configuration-as-code-plugin/issues/909 for the counterpart issue on the JCasC plugin side