Skip to main content
Santosh4013
Silver ⭐️
Aug 29, 2023 11:54 AM UTC
Question

NIFI how to access sensitive information through kubernetes secret

I have api username and password which is stored in secret now i need to access them in invoke http processor through environment variable but i was unable to access because the fields doesn't allow expression language. how do i access these values from secret?

3 replies

VidyaSargur
Community Manager
Community Manager
Aug 29, 2023 2:50 PM UTC

@Santosh4013, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts  @MattWho @SAMSAL @cotopaul @TimothySpann who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.
Santosh4013
Silver ⭐️
Aug 30, 2023 6:47 AM UTC

Team,
I need a quick solution for this problem, as I've been stuck with it for some time now.
@VidyaSargur 

Translate
ckumar
Platinum ⭐️
Platinum ⭐️
Aug 30, 2023 1:02 PM UTC

InvokeHTTP does not provide a way to read user Authentication in the form of secrets from files or environment variables.

 

Translate