pvillard31 commented on code in PR #11100:
URL: https://github.com/apache/nifi/pull/11100#discussion_r3034421269
##########
nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/components/connector/secrets/SecretsManager.java:
##########
@@ -37,4 +37,10 @@ public interface SecretsManager {
Map<SecretReference, Secret> getSecrets(Set<SecretReference>
secretReferences);
+ /**
+ * Invalidates any cached secret data, forcing the next access to fetch
fresh data
+ * from the underlying secret providers.
+ */
+ void invalidateCache();
Review Comment:
I initially added a default in the first version but decided to remove it
since none of this code has been released yet and the parameter provider
secrets manager is the only implementation. If this PR is not included in
2.9.0, then I agree that I should add a default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]