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.)
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.)
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.)