jenkinsci / jenkinsci/credentials-plugin

[JENKINS-62494] Allow disabling credential

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

Description

Once a credential is no longer needed, we want to delete it from the credential store in order to keep it clean. However, the risk here is that if the credential is still used somewhere, the job will start failing, and unless the credential was manually stored elsewhere, it cannot be recovered. It would be handy if we could simply disable the credential without actually deleting it. Then, after running the relevant jobs again, we could confirm the credential truly was not used, and then safely delete it.

---
Originally reported by rittneje, imported from: Allow disabling credential


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

Raw content of original issue

Once a credential is no longer needed, we want to delete it from the credential store in order to keep it clean. However, the risk here is that if the credential is still used somewhere, the job will start failing, and unless the credential was manually stored elsewhere, it cannot be recovered. It would be handy if we could simply disable the credential without actually deleting it. Then, after running the relevant jobs again, we could confirm the credential truly was not used, and then safely delete it.

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.