-
New Feature
-
Resolution: Fixed
-
Minor
-
None
Some credentials providers may not want to request the actual secret for a credential as that would require instantiating the credential instance in the JVM.
Where a credential provider's backing stores have an API that allows to query the credential names and ids based on the type authentication and domain requirements, we should enable the credential provider to be able to leverage that API rather than force the instantiation.
- relates to
-
JENKINS-74972 CredentialsMatcher.CQL.describe() implementations return invalid CQL
-
- Closed
-
[JENKINS-35306] Credentials Providers need to be able to list credentials without retrieving the backing secret
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Code changed in jenkins
User: Stephen Connolly
Path:
src/main/java/com/cloudbees/plugins/credentials/CredentialsMatcher.java
src/main/java/com/cloudbees/plugins/credentials/CredentialsMatchers.java
src/main/java/com/cloudbees/plugins/credentials/CredentialsProvider.java
src/main/java/com/cloudbees/plugins/credentials/matchers/AllOfMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/AnyOfMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/ConstantMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/IdMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/InstanceOfMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/NotMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/ScopeMatcher.java
src/main/java/com/cloudbees/plugins/credentials/matchers/UsernameMatcher.java
src/test/java/com/cloudbees/plugins/credentials/CredentialsMatchersTest.java
http://jenkins-ci.org/commit/credentials-plugin/f8b37b44d073fbd47cf894291eb1aac8b2df4deb
Log:
JENKINS-35306Need to provide a mechanism for a credentials provider to interpret the matchers in order to allow querying without instantiation of fake proxy instances