[
https://issues.apache.org/jira/browse/NIFI-15234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040329#comment-18040329
]
Koldo commented on NIFI-15234:
------------------------------
Hello, I am trying to configure the authentication method via KUBERNETES and I
am getting the same error. If I do not set the vault.authentication property, I
get the following error:
!image-2025-11-24-14-33-05-138.png!
If I explicitly set the value of vault.authentication: KUBERNETES, it works fine
!image-2025-11-24-14-34-08-394.png!
> Error configuring Vault Authentication
> --------------------------------------
>
> Key: NIFI-15234
> URL: https://issues.apache.org/jira/browse/NIFI-15234
> Project: Apache NiFi
> Issue Type: Bug
> Components: Docker
> Affects Versions: 2.6.0
> Reporter: Koldo
> Priority: Major
> Attachments: image-2025-11-19-15-20-44-236.png,
> image-2025-11-19-15-22-30-455.png, image-2025-11-24-14-33-05-138.png,
> image-2025-11-24-14-34-08-394.png
>
>
> I am configuring the StandardHashiCorpVaultClientService Controller Service
> from the following commit:
> [https://github.com/apache/nifi/tree/f49cae074a347fd1009cc97cc342ea5f6e1f6e82]
>
> I want to configure it through AWS_EC2 and an AWS role. If I use the
> following configuration, I get an error saying that a vault.token is
> required, even though I am not selecting the TOKEN authentication method.
> !image-2025-11-19-15-20-44-236.png!
> Instead, if I add another property, `vault.authentication: AWS_EC2`, it
> enables it correctly.
> !image-2025-11-19-15-22-30-455.png!
> In the second case, if the pod is restarted, the vault.aws-ec2.aws-ec2-path
> and vault.aws-ec2.role configurations are maintained, but not the
> vault.authentication configuration, so it is unable to fetch the secrets.
> Can you review it or give me a solution?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)