You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/02/11 09:56:41 UTC

[GitHub] [camel-k] lburgazzoli edited a comment on issue #1261: Allow to inject data from externally crafted secrets

lburgazzoli edited a comment 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:
users@infra.apache.org


With regards,
Apache Git Services