[ 
https://issues.apache.org/jira/browse/NIFI-14473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946511#comment-17946511
 ] 

David Handermann commented on NIFI-14473:
-----------------------------------------

Sensitive properties like Passwords intentionally avoid supporting Expression 
Language to reduce the potential for storing passwords in an insecure location.

However, Parameter Contexts support supplying both sensitive and non-sensitive 
values from external locations. The Environment Variables Parameter Provider 
enables configuring Parameter Contexts from environment variables, which can be 
provided to any component based on aligned sensitive status. I recommend 
looking into the Parameter Provider and Parameter Contexts for a solution.

> Possibility to use environment parameters as password for ConsumeJMS
> --------------------------------------------------------------------
>
>                 Key: NIFI-14473
>                 URL: https://issues.apache.org/jira/browse/NIFI-14473
>             Project: Apache NiFi
>          Issue Type: Wish
>    Affects Versions: 2.2.0
>            Reporter: Andreas Koch
>            Priority: Major
>
> We deploy on Flow to 3 different environments. For most passwords we can use 
> parameters, but not for ConsumeJMS. It would nice to have that possibility 
> there too. But expression language scope is not supported there.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to