[jira] [Commented] (NIFI-11231) Stateless Nifi Supports Sensitive Parameter Context Variables

2023-06-26 Thread Stephanie Ambrose (Jira)


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

Stephanie Ambrose commented on NIFI-11231:
--

[~jgresock] Remember, this was for overriding values in the 
stateless.properties file, not for flow environment variables. For example, you 
can't override this property via command line: 
nifi.stateless.security.keystorePassword the same way your override some other 
values in the flow and engine property files. I'd want to run something like:
command: ["/bin/sh", "-c", "/opt/nifi/nifi-current/bin/nifi-stateless.sh -c -p 
\"nifi.stateless.security.keystorePasswd=${KEYSTORE_PASSWORD}\""]

> Stateless Nifi Supports Sensitive Parameter Context Variables
> -
>
> Key: NIFI-11231
> URL: https://issues.apache.org/jira/browse/NIFI-11231
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: NiFi Stateless
>Affects Versions: 1.20.0
>Reporter: Dye357
>Assignee: Stephanie Ambrose
>Priority: Major
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Currently Sensitive Parameter Context Variables are not supported in 
> Stateless Nifi - this is due to StatelessFlowManager being stubbed to throw a 
> "Not Implemented" exception when providing a process group configured with a 
> secure Parameter Context variable.
> Desired functionality: Sensitive Parameter Context Variables can be used with 
> stateless Nifi. If a process group contains a Sensitive Parameter Context 
> Variable the context is used to hydrate all parameters within the provided 
> flow including any marked sensitive.
> Acceptance Criteria: Process Groups using secure parameters can be used in 
> stateless Nifi. 



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


[jira] [Commented] (NIFI-11231) Stateless Nifi Supports Sensitive Parameter Context Variables

2023-03-09 Thread Joe Gresock (Jira)


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

Joe Gresock commented on NIFI-11231:


Just to follow up, sensitive parameters are supported in stateless flows using 
ParameterValueProviders, including the built-in 
EnvironmentVariableParameterValueProvider.  This is the preferred approach 
rather than using ParameterProviders, which are currently not supported by 
design in Stateless.  If other use cases are needed, I'd recommend submitting 
another ticket.

> Stateless Nifi Supports Sensitive Parameter Context Variables
> -
>
> Key: NIFI-11231
> URL: https://issues.apache.org/jira/browse/NIFI-11231
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: NiFi Stateless
>Affects Versions: 1.20.0
>Reporter: Dye357
>Assignee: Stephanie Ambrose
>Priority: Major
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently Sensitive Parameter Context Variables are not supported in 
> Stateless Nifi - this is due to StatelessFlowManager being stubbed to throw a 
> "Not Implemented" exception when providing a process group configured with a 
> secure Parameter Context variable.
> Desired functionality: Sensitive Parameter Context Variables can be used with 
> stateless Nifi. If a process group contains a Sensitive Parameter Context 
> Variable the context is used to hydrate all parameters within the provided 
> flow including any marked sensitive.
> Acceptance Criteria: Process Groups using secure parameters can be used in 
> stateless Nifi. 



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