Sign in

Get CSRF crumb

documented

Obtain a Jenkins crumb for CSRF protection on POST requests.

GET /crumbIssuer/api/jsonSecurityno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$JENKINS_BASE_URL}}/crumbIssuer/api/json" \
  -X GET \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"