Andrea Cosentino created CAMEL-28026:
----------------------------------------

             Summary: camel-spiffe - reuse cached workload credential and 
JWT-bundle sources
                 Key: CAMEL-28026
                 URL: https://issues.apache.org/jira/browse/CAMEL-28026
             Project: Camel
          Issue Type: Improvement
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino


Follow-up requested while narrowing CAMEL-26844 / 
https://github.com/apache/camel/pull/29841 to OpenFGA SDK-future processing.

Assess the java-spiffe SDK's supported watched/cached source APIs for existing 
producer operations, reducing per-exchange Workload API calls where credential 
lifetime permits. Assess local JWT-SVID validation against watched bundles 
using supported SDK verification rather than custom cryptography.

Define cache lifetime, stale material and agent-outage behavior explicitly. 
Preserve audience, trust-domain, signature, expiry/not-before and configured 
local identity selection semantics. Injected clients/sources remain 
application-owned. Avoid coupling credential availability to optional health 
checks.

Cover credential/bundle rotation and removal, expiry, wrong audience, 
disconnect/recovery, multi-route source ownership and context restart in tests. 
Keep the existing synchronous behavior as the baseline until the cache design 
is agreed; document Threads EIP/virtual threads for blocking routes 
independently.

Related context: CAMEL-24571 (watched SSL source) and CAMEL-26833 (cached 
readiness state).

Codex on behalf of oscerd.

Generated by Codex via OSS Helper



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to