Pierre Villard created NIFI-15791:
-------------------------------------

             Summary: Add per-secret TTL cache to 
ParameterProviderSecretsManager
                 Key: NIFI-15791
                 URL: https://issues.apache.org/jira/browse/NIFI-15791
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Pierre Villard
            Assignee: Pierre Villard


Adds a TTL-based cache for resolved secret values in 
ParameterProviderSecretsManager to avoid redundant calls to 
ParameterProvider.fetchParameterValues() on every secret lookup. Each secret is 
cached independently by its fully qualified name and expires after a 
configurable TTL (default 5 minutes). Caching can be disabled by setting the 
TTL to 0 sec.

A follow-up improvement will be done to expose an API to invalidate the cache 
in case a user wants to force the refresh on the secrets while configuring a 
connector.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to