jenkinsci / jenkinsci/credentials-plugin

[JENKINS-75943] Credentials IDs can be created with illegal characters

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

Description

While the UI warns us that the Credentials ID contains illegal characters, it's still possible to create it with those characters.

I suppose the validation is missing Jenkins.checkGoodName or similar.

---
Originally reported by kevingrdj, imported from: Credentials IDs can be created with illegal characters


  • status: Open
  • priority: Minor
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08

Raw content of original issue

While the UI warns us that the Credentials ID contains illegal characters, it's still possible to create it with those characters.

I suppose the validation is missing Jenkins.checkGoodName or similar.

1 attachment

- [image-2025-07-31-11-15-59-070.png](https://issues.jenkins.io/secure/attachment/64720/image-2025-07-31-11-15-59-070.png)
> ![image-2025-07-31-11-15-59-070.png](https://issues.jenkins.io/secure/attachment/64720/image-2025-07-31-11-15-59-070.png)

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.