Member since
05-12-2023
3
Posts
0
Kudos Received
0
Solutions
08-07-2024
06:32 AM
Hi! I'm thinking about updating our Nifi and I'd like to ask a few questions. Is Nifi version 2 already recommended for use in production? What about using it in containers? Regards!
... View more
Labels:
- Labels:
-
Apache NiFi
05-26-2023
12:29 PM
@Gutao When interacting with the NiFi rest-api, I'd recommend creating a client certificate to use in your automation. A secured NiFi will always WANT a client certificate and will only try another configured auth method if a client certificate is not provide in the TLS exchange. Using a certificate for your rest-api automation removes the need for obtaining a token completely. You simply pass your client certificate with every rest-api call. Another advantage here over auth is token expiration. With no token involved with certificate based auth, your certificate will continuously work until it expires (typical default is 1 or 2 years). You'll need to setup authorization policies for your certificate user (Certificate DN used as user identity) for the various endpoints you are trying to interact with through the rest-api. If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more