I’ve face a similar issue a few week ago, finally y workaround it by converting secrets to base64 then storing secrets into credentials, the problem it is that it is not possible to store multi line text into secret text credentials
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/620d537b-15fb-45b0-b9f1-4c1e1b941821%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.