Re: unable to post ssh credentials via API

2017-10-12 Thread Stephen Connolly
https://github.com/jenkinsci/credentials-plugin/blob/master/docs/user.adoc#creating-a-credentials (now that I'm at a computer I can give the direct #fragment link) On 11 October 2017 at 19:12, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > When posting via REST it must be xml. See t

Re: unable to post ssh credentials via API

2017-10-11 Thread Stephen Connolly
When posting via REST it must be xml. See the example “Creating a credential” in https://github.com/jenkinsci/credentials-plugin/blob/master/docs/user.adoc#rest-api On Wed 11 Oct 2017 at 18:56, Richard Bywater wrote: > Personally for that task I've used the CLI functionality to run a Groovy > sc

Re: unable to post ssh credentials via API

2017-10-11 Thread Richard Bywater
Personally for that task I've used the CLI functionality to run a Groovy script to setup credentials. Don't know if that's an option for you or not. Richard. On Wed, 11 Oct 2017, 8:51 PM 'Jurgen Weber' via Jenkins Users, < jenkinsci-users@googlegroups.com> wrote: > Hi Team > > I am trying withou

unable to post ssh credentials via API

2017-10-11 Thread 'Jurgen Weber' via Jenkins Users
Hi Team I am trying without success to create and update global ssh keys via the API. Things to know: Jenkins version 2.8.3. Security is enabled. Google Auth is enabled. Prevent Cross Site Request Forgery exploits is on with the default Crumb issuer. Running on Kubernetes with the helm chart, p