Andrea Cosentino created CAMEL-23849:
----------------------------------------

             Summary: Camel-PQC: add automated key rotation scheduling
                 Key: CAMEL-23849
                 URL: https://issues.apache.org/jira/browse/CAMEL-23849
             Project: Camel
          Issue Type: New Feature
          Components: camel-pqc
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino


{{KeyLifecycleManager}} already exposes {{needsRotation(keyId, maxAge, 
maxUsage)}} and {{rotateKey(...)}}, but rotation must be triggered manually by 
the route author. There is no built-in scheduler.

h3. Proposal
* Provide an optional scheduled mechanism (background task / scheduled poll) 
that periodically evaluates {{needsRotation()}} for managed keys and rotates + 
deprecates them according to a configurable policy (max age / max usage), 
emitting events/logs.
* Make it opt-in and configurable (interval, policy, which keys).
* Relates to the CLI work (CAMEL-22517) but is a runtime/route-level capability.

Affected: {{components/camel-pqc}}.

----
_Filed by Claude Code on behalf of Andrea Cosentino._



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

Reply via email to