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