[ 
https://issues.apache.org/jira/browse/NIFI-14562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hans Deragon updated NIFI-14562:
--------------------------------
    Description: 
When clicking on "Fetch Parameters" on a properly configured 
AwsSecretsManagerParameterProvider, the following error message shows up in 
{_}nifi-app.log{_}:
{code:java}
2025-05-13 07:45:31,232 WARN [NiFi Web Server-277] 
o.a.n.p.a.AwsSecretsManagerParameterProvider 
AwsSecretsManagerParameterProvider[id=b63305db-0196-1000-add4-24fabfb4f271] 
Skipping parameter [keystore/filename], whose name has invalid characters.  
Only alpha-numeric characters (a-z, A-Z, 0-9), hyphens (-), underscores (_), 
periods (.), and spaces ( ) are accepted. {code}
But AWS Secret Manager supports slashes ('/').  Either NiFi add this character 
to the list of acceptable characters, or the error message should be changed 
for something that clearly indicates that the problem is a limitation of NiFi.  
For instance, the error message could be:

_Skipping parameter [keystore/filename], whose name has characters not 
supported by NiFi for parameters.  Only alpha-numeric characters (a-z, A-Z, 
0-9), hyphens (-), underscores (_), periods (.), and spaces ( ) are accepted._

> AwsSecretsManagerParameterProvider must support '/' as AWS Secret Manager 
> supports it.
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-14562
>                 URL: https://issues.apache.org/jira/browse/NIFI-14562
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.3.0
>         Environment: AWS EC2
>            Reporter: Hans Deragon
>            Priority: Minor
>
> When clicking on "Fetch Parameters" on a properly configured 
> AwsSecretsManagerParameterProvider, the following error message shows up in 
> {_}nifi-app.log{_}:
> {code:java}
> 2025-05-13 07:45:31,232 WARN [NiFi Web Server-277] 
> o.a.n.p.a.AwsSecretsManagerParameterProvider 
> AwsSecretsManagerParameterProvider[id=b63305db-0196-1000-add4-24fabfb4f271] 
> Skipping parameter [keystore/filename], whose name has invalid characters.  
> Only alpha-numeric characters (a-z, A-Z, 0-9), hyphens (-), underscores (_), 
> periods (.), and spaces ( ) are accepted. {code}
> But AWS Secret Manager supports slashes ('/').  Either NiFi add this 
> character to the list of acceptable characters, or the error message should 
> be changed for something that clearly indicates that the problem is a 
> limitation of NiFi.  For instance, the error message could be:
> _Skipping parameter [keystore/filename], whose name has characters not 
> supported by NiFi for parameters.  Only alpha-numeric characters (a-z, A-Z, 
> 0-9), hyphens (-), underscores (_), periods (.), and spaces ( ) are accepted._



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

Reply via email to