Claus Ibsen created CAMEL-27992:
-----------------------------------

             Summary: camel-aws-secrets-manager - CloudTrail refresh fails with 
overrideEndpoint and no URI; doc names wrong environment variables
                 Key: CAMEL-27992
                 URL: https://issues.apache.org/jira/browse/CAMEL-27992
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. CloudTrailReloadTriggerTask.doStart

With overrideEndpoint=true and an empty uriEndpointOverride, URI.create(null) 
throws a NullPointerException (the properties function checks isNotEmpty). 
Proposed change: the same check.

h4. 2. Environment variable names

The doc says CAMEL_VAULT_AWS_PROFILE_NAME, but the code reads 
CAMEL_AWS_VAULT_PROFILE_NAME (also CAMEL_AWS_VAULT_IS_OVERRIDE_ENDPOINT, 
_URI_ENDPOINT_OVERRIDE, _SQS_QUEUE_URL, _USE_SQS_NOTIFICATION, unlike the other 
CAMEL_VAULT_AWS_* names). Proposed change: accept both or fix the doc.

Found while checking the option and console descriptions of CAMEL-27980.

----
_Filed by Claude Code on behalf of davsclaus_



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

Reply via email to