lburgazzoli commented on issue #1261: Allow to inject data from externally 
crafted secrets
URL: https://github.com/apache/camel-k/issues/1261#issuecomment-584555079
 
 
   > Yeah, we can still load automatically `.properties` files in the secrets, 
plus make the content of each entry of a secret available in a `secrets` 
namespace, so users can reference them by name, e.g.
   > 
   > ```
   > camel.component.xxx.password = {{secrets.broker.authToken}}
   > ```
   
   We can use properties functions like 
   
       {{secret:$secret-name:property-name}}
   
   so your example will become:
   
       camel.component.xxx.password = {{secret:broker:authToken}}
   
   I did it in the past for Karaf and blueprints, need to resurrect that code :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to