Hi there, I have secured NiFi (TLS + Kerberos) and need to work with NiFi API. >From command line, I do:
1. generate access token: *curl -k -d "[email protected] <[email protected]>&password=paSSword" -X POST https://df3-tt-master-01.domain.com:9443/nifi-api/access/token <https://df-test-master-01.cn.infra:9443/nifi-api/access/token>* 2. using access token: *curl -k -X GET https://df3-tt-master-01.domain.com:9443/nifi-api/flow/about <https://df-dev-master-01.cn.infra:9443/nifi-api/flow/about> -H 'Authorization: Bearer <access token>' * However, I cannot generate and use access token within *InvokeHTTP, PostHTTP. * - Is it possible to use access token with those processors? - If not, is there any workaround (like other processor) how to use NiFi API within secured NiFi? any idea/hint is highly appreciated! :) thank you, Tomas
