## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements.  See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License.  You may obtain a copy of the License at
##
##      http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------

# JBang can be used to encrypt property values for testing
# jbang org.apache.camel:camel-jasypt:4.3.0 -c encrypt -p my-password -i "some content to encrypt"

quarkus.native.resources.includes = secret.properties

camel.main.routes-include-pattern = routes/jasypt-routes.xml,routes/jasypt-routes.yaml

# Jasypt configuration
quarkus.camel.jasypt.password = 2s3cr3t

# Insure configuration
insecure.property = Hello World

# Secure custom configuration properties (values translate to: Hello World)
greeting.secret = ENC(GKJfy64eBDzxUuQCfArd6OjnAaW/oM9e)
greeting.expression.secret = ${greeting.secret} From Expression
explicit.config.provider.secret = ${camel-jasypt::ENC(GKJfy64eBDzxUuQCfArd6OjnAaW/oM9e)}

# Secure Camel endpoint URI properties
# delay of 1 millisecond
timer.delay.secret = ENC(fmdsyY2xfsVnz1JL5gvL8A==)
# repeat 2 times
timer.repeatCount.secret = ENC(e8n9auBwOA3XuGNZONICkw==)

# Custom profile secret (value translates to: Hello Custom Profile
%custom-profile.greeting.secret = ENC(O8w+UtMRj52Z8PKgJg2tRsE7zFH954LH0GJIayMpr5s=)
%custom-profile.greeting.expression.secret = ${camel-jasypt::ENC(GKJfy64eBDzxUuQCfArd6OjnAaW/oM9e)}

# Overridden with encrypted values in JasyptSecureExtensionConfigTestProfile
quarkus.datasource.devservices.username = camel
quarkus.datasource.devservices.password = c4m31s3cr3t
quarkus.datasource.username = test-username
quarkus.datasource.password = test-password
