Package com.microsoft.jenkins.keyvault
Class SecretClientCache
java.lang.Object
com.microsoft.jenkins.keyvault.SecretClientCache
Caches clients so that we don't make a fresh call to login on every secret request.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.azure.security.keyvault.secrets.SecretClient
static void
Used to notify when credentials change, e.g.
-
Method Details
-
get
-
invalidateCache
public static void invalidateCache()Used to notify when credentials change, e.g. service principal secret updated. We can't invalidate individual keys as when we update a credential we don't know what vault(s) it is used for.
-