jenkinsci / jenkinsci/credentials-plugin

[JENKINS-52291] Plug-ins should define their credential type. This type should be pre-selected.

Open
#813 2 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue pipeline priority:major resolution:unresolved security ux
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

When adding credentials to any of the plug-ins, the Credential Type dropdown box has some random, nonsense credential type pre-selected.

So you always have to look-up the correct credential type for each of the plug-ins every time before being able to accomplish your task. This is a true, repeating niusance.

Hence, I propose that ...



  1. plug-ins define their preferred credential type, and

  2. Jenkins is going to pre-select this type, read from the corresponding plug-in's properties, in the Credential Type dropdown box when adding a new credential to the plug-in.

This will dramatically ease setting up credentials in Jenkins.

---
Originally reported by settrend, imported from: Plug-ins should define their credential type. This type should be pre-selected.


  • status: Open
  • priority: Major
  • component(s): credentials-plugin
  • label(s): credentials, pipeline, plugin, security
  • resolution: Unresolved
  • votes: 0
  • watchers: 5
  • imported: 2025-12-08

Raw content of original issue

When adding credentials to any of the plug-ins, the Credential Type dropdown box has some random, nonsense credential type pre-selected.

So you always have to look-up the correct credential type for each of the plug-ins every time before being able to accomplish your task. This is a true, repeating niusance.

Hence, I propose that ...



  1. plug-ins define their preferred credential type, and

  2. Jenkins is going to pre-select this type, read from the corresponding plug-in's properties, in the Credential Type dropdown box when adding a new credential to the plug-in.

This will dramatically ease setting up credentials in Jenkins.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.