Status: Open (View Workflow)
Jenkins currently doesn't expose the data bindings necessary to be able to create credentials using CasC that can be used to create Blue Ocean pipelines. From what I can tell (and I'm not Java expert), this is the only thing missing to be able to manage Blue Ocean credentials using CasC.
This is one of the last things that I personally need to be able to finish configuring Jenkins using not but the CasC plugin and externally available Kubernetes secrets.
The code that I'm using to come to this conclusion is here: