Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57577

Make credentials metadata caching duration user-configurable

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      0.5.0

      Description

      The AWS Secrets Manager Credentials Provider currently caches non-Secret metadata about a credential for 5 minutes as recommended in the Credentials plugin implementor’s guide. Make this user-configurable, so that a Jenkins admin can change it.

        Attachments

          Activity

          chriskilding Chris Kilding created issue -
          chriskilding Chris Kilding made changes -
          Field Original Value New Value
          Remote Link This issue links to "Guava GitHub Issue #3688 (Web Link)" [ 23944 ]
          Hide
          chriskilding Chris Kilding added a comment -

          I have proposed a change to Guava’s Suppliers.memoizeWithExpiration function which would make this feature much easier to implement. (See linked GitHub issue above.)

          Show
          chriskilding Chris Kilding added a comment - I have proposed a change to Guava’s Suppliers.memoizeWithExpiration function which would make this feature much easier to implement. (See linked GitHub issue above.)
          chriskilding Chris Kilding made changes -
          Description The AWS Secrets Manager Credentials Provider currently caches non-Secret metadata about a credential for 5 minutes as recommended in the Credentials plugin implementor’s guide. Make this user-configurable, so that a Jenkins admin can change it.

           

          (Side note: This is a real issue for my plugin, but I’m also using it to get familiar with the Jenkins Jira and its issue filters.)
          The AWS Secrets Manager Credentials Provider currently caches non-Secret metadata about a credential for 5 minutes as recommended in the Credentials plugin implementor’s guide. Make this user-configurable, so that a Jenkins admin can change it.
          Hide
          chriskilding Chris Kilding added a comment -

          Ethan Stein is interested this feature

          Show
          chriskilding Chris Kilding added a comment - Ethan Stein is interested this feature
          Hide
          chriskilding Chris Kilding added a comment -

          Work begins in GitHub PR #24

          Show
          chriskilding Chris Kilding added a comment - Work begins in GitHub PR #24
          chriskilding Chris Kilding made changes -
          Remote Link This issue links to "GitHub PR #24 (Web Link)" [ 24403 ]
          chriskilding Chris Kilding made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          chriskilding Chris Kilding added a comment -

          The Guava Suppliers implementation is unlikely to be changed for a long time to come, so I've created a derivative of Suppliers.memoizeWithExpiration that supports what we need. Work can now progress.

          Show
          chriskilding Chris Kilding added a comment - The Guava Suppliers implementation is unlikely to be changed for a long time to come, so I've created a derivative of Suppliers.memoizeWithExpiration that supports what we need. Work can now progress.
          chriskilding Chris Kilding made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          chriskilding Chris Kilding made changes -
          Released As 0.5.0
          Resolution Done [ 10000 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          Hide
          chriskilding Chris Kilding added a comment -

          Released in version 0.5.0

          Show
          chriskilding Chris Kilding added a comment - Released in version 0.5.0
          chriskilding Chris Kilding made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            chriskilding Chris Kilding
            Reporter:
            chriskilding Chris Kilding
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: