[
https://issues.apache.org/jira/browse/CAMEL-22516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028718#comment-18028718
]
Claus Ibsen commented on CAMEL-22516:
-------------------------------------
Okay RAW value is masked now
{code:java}
2025-10-09 12:57:47.401 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [application.properties]
aws.accessKeyId = xxxxxx
2025-10-09 12:57:47.401 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [application.properties]
aws.bucketName = mybucket
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [application.properties]
aws.region = eu-south-2
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [application.properties]
aws.secretAccessKey = xxxxxx
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [aws-s3-source.kamelet.yaml]
bucketNameOrArn = mybucket
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [aws-s3-source.kamelet.yaml]
accessKey = xxxxxx
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [aws-s3-source.kamelet.yaml]
region = eu-south-2
2025-10-09 12:57:47.402 INFO 73607 --- [ main]
org.apache.camel.main.BaseMainSupport : [aws-s3-source.kamelet.yaml]
secretKey = xxxxxx {code}
When using
{code:java}
aws.accessKeyId = RAW(my%id)
aws.bucketName = mybucket
aws.region = eu-south-2
aws.secretAccessKey = RAW(my+key) {code}
> camel-core - RAW() should mask the value when printing
> ------------------------------------------------------
>
> Key: CAMEL-22516
> URL: https://issues.apache.org/jira/browse/CAMEL-22516
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.16.0
>
>
> When using RAW() then its usually used for sensitive information like api
> tokens or passwords etc. We should mask logging by default, for example when
> Camel startup it has a startup summary that would print the key=value of
> property placeholders.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)