{"id":495223,"date":"2026-09-18T18:32:31","date_gmt":"2026-09-18T18:32:31","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=495223"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=495223","title":{"rendered":"\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Apache NiFi \u0441 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/663\/60e\/8ac\/66360e8ac9d42da1043a509c4458242c.jpeg\" width=\"1280\" height=\"720\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/663\/60e\/8ac\/66360e8ac9d42da1043a509c4458242c.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/663\/60e\/8ac\/66360e8ac9d42da1043a509c4458242c.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440. \u042f \u0418\u0433\u043e\u0440\u044c \u042e\u0440\u0447\u0435\u043d\u043a\u043e, backend-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0421\u0431\u0435\u0440\u0430. \u0412 <a href=\"https:\/\/habr.com\/ru\/companies\/sberbank\/articles\/1052274\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u044f \u043e\u043f\u0438\u0441\u0430\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432 NiFi, \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 <a href=\"https:\/\/client.sbertech.ru\/docs\/public\/SSM\/4.1\/SMDL\/4.1\/documents\/administration-guide\/SecMan.html\">\u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438 \u2014 SecMan<\/a>. \u0411\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>\u041f\u043e\u0442\u043e\u043a\u0438 NiFi \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432: \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0411\u0414, SSL-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 HTTP \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u0425\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 NiFi \u0432\u0435\u0440\u0441\u0438\u0439 1.\u0445 \u043d\u0435\u043b\u044c\u0437\u044f (\u043d\u0435\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 sensitive-\u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432), \u0430 \u0432 NiFi \u0432\u0435\u0440\u0441\u0438\u0439 2.\u0445 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u0412 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e\u0442\u043e\u043a\u0430) \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0442\u043e\u0436\u0435 \u043d\u0435\u043b\u044c\u0437\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 Git \u0431\u0435\u0437 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0430 \u0441\u0442\u0435\u043d\u0434\u0430\u0445 \u043f\u0430\u0440\u043e\u043b\u0438 \u0440\u0430\u0437\u043d\u044b\u0435, \u0430 \u0444\u0430\u0439\u043b \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u2014 \u043e\u0434\u0438\u043d \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u0442\u0435\u043d\u0434\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0415\u0441\u043b\u0438 \u0441\u0435\u043a\u0440\u0435\u0442 \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0442\u043e \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041e\u0431\u0449\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u2014 \u0432 Git \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0442\u043e\u043a\u0430, \u043a\u0430\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0437 SecMan \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u0442\u0435\u043d\u0434.<\/p>\n<p>NiFi \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u0432\u0438\u0434\u0430 <code>#{parameter}<\/code> \u043d\u0430 parameter context \u2014 \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0440 \u00ab\u043a\u043b\u044e\u0447-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00bb, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043e (\u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043e \u043a\u0430\u043a sensitive, \u0443 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442). Parameter context \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c \u2014 parameter provider. \u0412 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 \u00abFetch parameters\u00bb \u043e\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0432 parameter context. \u041e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f: \u043e\u0434\u0438\u043d provider \u2014 \u043e\u0434\u0438\u043d context \u2014 \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 (\u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u0432\u044f\u0437\u044c context \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c).<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/df7\/729\/e93\/df7729e93d365c2c917211cba273b822.png\" width=\"562\" height=\"99\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/df7\/729\/e93\/df7729e93d365c2c917211cba273b822.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/df7\/729\/e93\/df7729e93d365c2c917211cba273b822.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p><code>#{parameter}<\/code> \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/325\/465\/dd8\/325465dd824eaa5ee1c55e2458a50ca6.png\" width=\"845\" height=\"592\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/325\/465\/dd8\/325465dd824eaa5ee1c55e2458a50ca6.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/325\/465\/dd8\/325465dd824eaa5ee1c55e2458a50ca6.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0421\u0432\u044f\u0437\u044c \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 context-\u043e\u043c:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a34\/d49\/c42\/a34d49c420d92c69a5758de135431221.png\" width=\"1566\" height=\"1163\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a34\/d49\/c42\/a34d49c420d92c69a5758de135431221.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a34\/d49\/c42\/a34d49c420d92c69a5758de135431221.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>Context \u0441 sensitive-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef5\/c14\/6af\/ef5c146afff42eda0f5ce244c59b8dcb.png\" width=\"920\" height=\"623\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/ef5\/c14\/6af\/ef5c146afff42eda0f5ce244c59b8dcb.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef5\/c14\/6af\/ef5c146afff42eda0f5ce244c59b8dcb.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 (\u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e <code>FileParameterProvider<\/code>):<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1d3\/4f9\/6fe\/1d34f96fe1584bd1c362bd39983ff085.png\" width=\"1593\" height=\"1135\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/1d3\/4f9\/6fe\/1d34f96fe1584bd1c362bd39983ff085.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1d3\/4f9\/6fe\/1d34f96fe1584bd1c362bd39983ff085.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041a\u043d\u043e\u043f\u043a\u0430 \u00abFetch parameters\u00bb:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bf4\/eec\/ee5\/bf4eecee513cb2ca8221384b3b2ab832.png\" width=\"1770\" height=\"445\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/bf4\/eec\/ee5\/bf4eecee513cb2ca8221384b3b2ab832.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bf4\/eec\/ee5\/bf4eecee513cb2ca8221384b3b2ab832.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0424\u043e\u0440\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f context-\u0430 \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f fetch:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/26e\/1fc\/b43\/26e1fcb4343a8623388d540b3eae0e09.png\" width=\"2046\" height=\"1239\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/26e\/1fc\/b43\/26e1fcb4343a8623388d540b3eae0e09.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/26e\/1fc\/b43\/26e1fcb4343a8623388d540b3eae0e09.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 \u043f\u043e\u0442\u043e\u043a \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c\u0443 (\u0447\u0435\u0440\u0435\u0437 REST API NiFi) \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e provider-\u0430, \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u0435\u0433\u043e \u043a\u043d\u043e\u043f\u043a\u0438 \u00abFetch parameters\u00bb \u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e context \u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u044b\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043d\u0443\u0436\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0443\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043a\u043b\u044e\u0447\u0438 \u0438\u0437 context (\u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432). \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0448\u0442\u0430\u0442\u043d\u044b\u0439 provider, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u0430 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 custom provider-\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438 \u2014 SecMan.<\/p>\n<p>SecMan \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2014 \u043f\u0440\u043e\u0441\u0442\u043e REST API, \u043e\u0442\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u044b. \u0412\u043d\u0443\u0442\u0440\u0438 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u00ab\u0434\u0432\u0438\u0436\u043a\u0438\u00bb \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438 \u043e\u0442\u0432\u0435\u0442\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0434\u0432\u0438\u0436\u043a\u0430 KV (\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 key-value \u2014 \u0438\u043c\u0435\u043d\u0430 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432):<\/p>\n<pre><code class=\"bash\">curl -k https:\/\/host.ru\/path\/to\/secret\/engine\/kv -H \"X-Vault-Namespace: some_namespace\" -H \"X-Vault-Token: some_token\"{  \"data\": {    \"CLICKHOUSE_PASSWORD\": \"pass123\",    \"POSTGRES_PASSWORD\": \"pass456\",    \"SOME_TOKEN\": \"base64_encoded_token\"  },}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u043d custom NiFi-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <code>SecmanParameterProvider<\/code>. \u042d\u0442\u043e \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a \u043a\u043b\u0430\u0441\u0441\u0430 <code>org.apache.nifi.parameter.AbstractParameterProvider<\/code> \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 org.apache.nifi:nifi-api. \u041f\u043e\u0434\u043e\u0431\u043d\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c, \u043e\u043d \u0438\u043c\u0435\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u2014 \u0430\u0434\u0440\u0435\u0441 SecMan, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0432\u0438\u0436\u043a\u0438 (\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0443\u0442\u044c), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 SSLContextService, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 SSL\/TLS-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <code>SecmanParameterProvider<\/code>:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cf9\/42e\/384\/cf942e38436e7b1dbf504ede476d22e1.png\" width=\"799\" height=\"560\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/cf9\/42e\/384\/cf942e38436e7b1dbf504ede476d22e1.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cf9\/42e\/384\/cf942e38436e7b1dbf504ede476d22e1.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <code>SSLContextService<\/code> (\u0432 Truststore Filename \u043f\u0443\u0442\u044c \u0434\u043e JKS \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 REST API SecMan):<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a02\/744\/71c\/a0274471c70eb6e6161fce4b2d58388a.png\" width=\"1596\" height=\"1122\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a02\/744\/71c\/a0274471c70eb6e6161fce4b2d58388a.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a02\/744\/71c\/a0274471c70eb6e6161fce4b2d58388a.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041a\u043b\u0430\u0441\u0441 <code>SecmanParameterProvider<\/code> \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 <code>List&lt;ParameterGroup&gt; fetchParameters(ConfigurationContext context)<\/code> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 <code>org.apache.nifi.parameter.ParameterProvider<\/code> \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c NiFi \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u00abFetch parameters\u00bb \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 SecMan, \u0430 \u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 <code>List&lt;ParameterGroup&gt;<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a NiFi \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432 parameter context.<\/p>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 custom-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 NiFi \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u0435\u0442\u0438. \u0415\u0441\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u0440\u0430\u0442\u043a\u043e: \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 Maven-\u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430 <code>org.apache.nifi:nifi-nar-bundles<\/code>, NiFi NAR Maven Plugin, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>mvn clean install<\/code>. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0444\u0430\u0439\u043b .\/[project]-nar\/target\/[project]-[version].nar. \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 <code>$NIFI_HOME\/lib<\/code> \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 NiFi, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c SecmanParameterProvider \u043a\u0430\u043a \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e.<\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0439 \u043f\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u0436\u0430\u0440\u043d\u0438\u043a nifi-deployer. \u041d\u0430\u043f\u043e\u043c\u043d\u044e \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0438: \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 (\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432), \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0443\u043f\u043f\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0438 \u0444\u0430\u0439\u043b \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b), \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u043f\u043e\u0442\u043e\u043a\u0430; nifi-deployer \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0438\u0445 (\u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>api-data<\/code> \u0432 \u0442\u0435\u043a\u0441\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e placeholder-\u0430\u043c \u0442\u0438\u043f\u0430 [[ parameter ]]), \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 Registry \u0438 NiFi, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 variables \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0433 \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 parameter provider-\u0430 \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u043c NiFi. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 REST API NiFi <code>POST \/controller\/parameter-providers<\/code>. \u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u044f \u0438 \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435 NiFi \u043c\u043e\u0433\u0443\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043d\u0430\u0431\u043e\u0440\u0430\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432). \u0412\u0441\u0435 \u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0438 \u0440\u0430\u0437\u043d\u044f\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u0442\u0435\u043d\u0434\u0430\u043c\u0438 (\u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, \u0430\u0434\u0440\u0435\u0441 \u0438 \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 SecMan), \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u0438\u0437 Jenkins pipeline.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434 <code>fetchParameters<\/code>:<code> POST \/parameter-providers\/$providerId\/parameters\/fetch-requests<\/code>. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0438\u043c\u0451\u043d (\u043a\u043b\u044e\u0447\u0435\u0439) \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0432 <code>POST \/parameter-providers\/$providerId\/apply-parameters-requests<\/code>, \u0432 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 NiFi \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f parameter context. \u0415\u0433\u043e \u0438\u043c\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u043e\u0439 \u0432 Registry, \u0442\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0432\u044f\u0437\u044c \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c context-\u043e\u043c.<\/p>\n<details class=\"spoiler\">\n<summary>\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f:<\/p>\n<pre><code class=\"bash\">java -jar nifi-deployer-0.38-SNAPSHOT.jar -i nifi.url=http:\/\/localhost:8081\/nifi-api registry.url=http:\/\/localhost:18080\/nifi-registry-api bucket.name=default import.version.file=rdbms-exact-json-1.24.json import.variable.file=rdbms-exact-json.json user=... password=... ssl.keystore.filename=nifi.p12 import.api.data.default=secmanSSLControllerServiceName=SecManSSLService|secmanURL=https:\/\/...\/v1|secmanNamespace=namespace1|secmanRoleId=role1|secmanSecretId=secret1|secmanNamespacePlatform=namespace2|secmanRoleIdPlatform=role2|secmanSecretIdPlatform=secret2|secmanSecretPathPlatform=path\/to\/secrets\/for\/flow\/name|secmanParameterProviderVersion=0.2<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 import.api.data.default \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 key-value \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432 provider-\u0430 \u2014 \u0446\u0435\u043b\u0435\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, \u0430\u0434\u0440\u0435\u0441 SecMan, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0443\u0442\u044c \u0432 KV-\u0434\u0432\u0438\u0436\u043a\u0435 \u0434\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430.<\/p>\n<p>\u0416\u0443\u0440\u043d\u0430\u043b \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f:<\/p>\n<pre><code class=\"bash\">11.09.2026 21:28:50.921 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ - read template from file \/home\/...\/rdbms-exact-json-1.24.json11.09.2026 21:28:50.938 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ - read metadata from file \/home\/...\/rdbms-exact-json.json11.09.2026 21:28:51.079 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ - parse template from file \/home\/...\/rdbms-exact-json-1.24.json11.09.2026 21:28:51.128 [main] INFO getParameterProviderInfo$ - use param provider template from resources for version 0.211.09.2026 21:28:51.129 [main] INFO ApiNiFiImport - get parameter provider rdbms-exact-json-example11.09.2026 21:28:51.129 [main] DEBUG HttpClient - GET http:\/\/localhost:8081\/nifi-api\/flow\/parameter-providers11.09.2026 21:28:51.209 [main] INFO getParameterProviderInfo$ - create parameter provider rdbms-exact-json-example11.09.2026 21:28:51.210 [main] INFO ApiNiFiImport - get controller service SecManSSLService11.09.2026 21:28:51.210 [main] DEBUG HttpClient - GET http:\/\/localhost:8081\/nifi-api\/flow\/controller\/controller-services11.09.2026 21:28:51.253 [main] INFO ApiNiFiImport - create parameter provider11.09.2026 21:28:51.254 [main] DEBUG HttpClient - POST http:\/\/localhost:8081\/nifi-api\/controller\/parameter-providers11.09.2026 21:28:51.270 [main] INFO ApiNiFiImport - fetch parameters with provider 91bac3ba-01a0-1000-e886-4413b32df0ce11.09.2026 21:28:51.275 [main] DEBUG HttpClient - POST http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/parameters\/fetch-requests11.09.2026 21:28:51.790 [main] INFO ApiNiFiImport - apply parameters with provider 91bac3ba-01a0-1000-e886-4413b32df0ce, create context11.09.2026 21:28:51.796 [main] DEBUG HttpClient - POST http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests11.09.2026 21:28:52.848 [main] DEBUG HttpClient - GET http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests\/fc3fd9a0-2595-41f0-a233-d694097bc1ed11.09.2026 21:28:52.871 [main] DEBUG HttpClient - DELETE http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests\/fc3fd9a0-2595-41f0-a233-d694097bc1ed11.09.2026 21:28:52.906 [main] INFO ApiRegistry - get all flow versions from Registry11.09.2026 21:28:52.906 [main] INFO ApiRegistry - get bucket ID for bucket name default11.09.2026 21:28:52.907 [main] DEBUG HttpClient - GET http:\/\/localhost:18080\/nifi-registry-api\/buckets11.09.2026 21:28:52.934 [main] INFO ApiRegistry - using bucket 13a3c613-105b-44ce-bc86-3ce5756800a111.09.2026 21:28:52.934 [main] INFO ApiRegistry - get flow ID for flow name rdbms-exact-json-example and bucketId 13a3c613-105b-44ce-bc86-3ce5756800a111.09.2026 21:28:52.934 [main] DEBUG HttpClient - GET http:\/\/localhost:18080\/nifi-registry-api\/buckets\/13a3c613-105b-44ce-bc86-3ce5756800a1\/flows11.09.2026 21:28:52.954 [main] INFO ApiRegistry - create flow rdbms-exact-json-example11.09.2026 21:28:52.954 [main] DEBUG HttpClient - POST http:\/\/localhost:18080\/nifi-registry-api\/buckets\/13a3c613-105b-44ce-bc86-3ce5756800a1\/flows11.09.2026 21:28:53.032 [main] INFO ApiRegistry - using flow 4e46a4ff-6ac1-4a7e-bacd-de71ced5b1cf11.09.2026 21:28:53.032 [main] DEBUG HttpClient - GET http:\/\/localhost:18080\/nifi-registry-api\/buckets\/13a3c613-105b-44ce-bc86-3ce5756800a1\/flows\/4e46a4ff-6ac1-4a7e-bacd-de71ced5b1cf\/versions11.09.2026 21:28:53.058 [main] INFO importFlow2Registry$ - update flow rdbms-exact-json-example in Registry11.09.2026 21:28:53.059 [main] DEBUG HttpClient - POST http:\/\/localhost:18080\/nifi-registry-api\/buckets\/13a3c613-105b-44ce-bc86-3ce5756800a1\/flows\/4e46a4ff-6ac1-4a7e-bacd-de71ced5b1cf\/versions11.09.2026 21:28:53.136 [main] INFO importFlow2Registry$ - \/home\/...\/rdbms-exact-json-1.24.json imported to Registry11.09.2026 21:28:53.143 [Thread-21] INFO vci.getVersionControlInfo$ - get version control info for rdbms-exact-json-example recursively from d6c097de-018d-1000-d01a-713fa982227611.09.2026 21:28:53.157 [main] DEBUG HttpClient - GET http:\/\/localhost:8081\/nifi-api\/controller\/registry-clients11.09.2026 21:28:53.168 [main] INFO importGroupFromRegistry2NiFi$ - registry b0806a28-018d-1000-0318-a7256e10492a11.09.2026 21:28:53.170 [main] DEBUG HttpClient - POST http:\/\/localhost:8081\/nifi-api\/process-groups\/d6c097de-018d-1000-d01a-713fa9822276\/process-groups11.09.2026 21:28:53.415 [main] INFO importGroupFromRegistry2NiFi$ - imported http:\/\/localhost:8081\/nifi?processGroupId=91bacb92-01a0-1000-65c4-38c33a31761a from Registry to NiFi<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d parameter provider:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/585\/358\/66b\/58535866b68e06088cf2eae0c7b1ecfe.png\" width=\"798\" height=\"559\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/585\/358\/66b\/58535866b68e06088cf2eae0c7b1ecfe.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/585\/358\/66b\/58535866b68e06088cf2eae0c7b1ecfe.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d parameter context:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/686\/c79\/bb9\/686c79bb9108334beaeaee0fad240fcc.png\" width=\"855\" height=\"580\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/686\/c79\/bb9\/686c79bb9108334beaeaee0fad240fcc.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/686\/c79\/bb9\/686c79bb9108334beaeaee0fad240fcc.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d \u043f\u043e\u0442\u043e\u043a:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4b6\/28c\/b7f\/4b628cb7f9c4ab13abc3bb73d10df674.png\" width=\"2621\" height=\"1795\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/4b6\/28c\/b7f\/4b628cb7f9c4ab13abc3bb73d10df674.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4b6\/28c\/b7f\/4b628cb7f9c4ab13abc3bb73d10df674.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u043e\u0442\u043e\u043a \u0441\u0432\u044f\u0437\u0430\u043d \u0441 context-\u043e\u043c:<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/536\/c6e\/176\/536c6e176015126cddaf90e8e779a4d4.png\" width=\"772\" height=\"557\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/536\/c6e\/176\/536c6e176015126cddaf90e8e779a4d4.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/536\/c6e\/176\/536c6e176015126cddaf90e8e779a4d4.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 Database Password \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d <code>#{MAINTAINENCE_DB_PASSWORD}<\/code> (\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 sensitive-\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0443\u0434\u0430 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043a\u043b\u044e\u0447\u0443 \u0438\u0437 context-\u0430):<\/p>\n<figure class=\"bordered full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e5c\/1a0\/a76\/e5c1a0a760beb89463b57254993286ac.png\" width=\"1596\" height=\"1122\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/e5c\/1a0\/a76\/e5c1a0a760beb89463b57254993286ac.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e5c\/1a0\/a76\/e5c1a0a760beb89463b57254993286ac.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0440\u0435\u0448\u0435\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0441\u0442\u0435\u043d\u0434\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0445 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1083888\/\">https:\/\/habr.com\/ru\/articles\/1083888\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440. \u042f \u0418\u0433\u043e\u0440\u044c \u042e\u0440\u0447\u0435\u043d\u043a\u043e, backend-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0421\u0431\u0435\u0440\u0430. \u0412 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043e\u043f\u0438\u0441\u0430\u043b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432 NiFi, \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438 \u2014 SecMan. \u0411\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.\u041f\u043e\u0442\u043e\u043a\u0438 NiFi \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432: \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0411\u0414, SSL-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 HTTP \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u0425\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 NiFi \u0432\u0435\u0440\u0441\u0438\u0439 1.\u0445 \u043d\u0435\u043b\u044c\u0437\u044f (\u043d\u0435\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 sensitive-\u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432), \u0430 \u0432 NiFi \u0432\u0435\u0440\u0441\u0438\u0439 2.\u0445 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u0412 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e\u0442\u043e\u043a\u0430) \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0442\u043e\u0436\u0435 \u043d\u0435\u043b\u044c\u0437\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 Git \u0431\u0435\u0437 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0430 \u0441\u0442\u0435\u043d\u0434\u0430\u0445 \u043f\u0430\u0440\u043e\u043b\u0438 \u0440\u0430\u0437\u043d\u044b\u0435, \u0430 \u0444\u0430\u0439\u043b \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u2014 \u043e\u0434\u0438\u043d \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u0442\u0435\u043d\u0434\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0415\u0441\u043b\u0438 \u0441\u0435\u043a\u0440\u0435\u0442 \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0442\u043e \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041e\u0431\u0449\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u2014 \u0432 Git \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0442\u043e\u043a\u0430, \u043a\u0430\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0437 SecMan \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u0442\u0435\u043d\u0434.NiFi \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u0432\u0438\u0434\u0430 #{parameter} \u043d\u0430 parameter context \u2014 \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0440 \u00ab\u043a\u043b\u044e\u0447-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00bb, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043e (\u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043e \u043a\u0430\u043a sensitive, \u0443 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442). Parameter context \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c \u2014 parameter provider. \u0412 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 \u00abFetch parameters\u00bb \u043e\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0432 parameter context. \u041e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f: \u043e\u0434\u0438\u043d provider \u2014 \u043e\u0434\u0438\u043d context \u2014 \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 (\u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u0432\u044f\u0437\u044c context \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c).#{parameter} \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430:\u0421\u0432\u044f\u0437\u044c \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 context-\u043e\u043c:Context \u0441 sensitive-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438:\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 (\u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e FileParameterProvider):\u041a\u043d\u043e\u043f\u043a\u0430 \u00abFetch parameters\u00bb:\u0424\u043e\u0440\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f context-\u0430 \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f fetch:\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 \u043f\u043e\u0442\u043e\u043a \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c\u0443 (\u0447\u0435\u0440\u0435\u0437 REST API NiFi) \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e provider-\u0430, \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u0435\u0433\u043e \u043a\u043d\u043e\u043f\u043a\u0438 \u00abFetch parameters\u00bb \u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e context \u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u044b\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043d\u0443\u0436\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0443\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043a\u043b\u044e\u0447\u0438 \u0438\u0437 context (\u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432). \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0448\u0442\u0430\u0442\u043d\u044b\u0439 provider, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u0430 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 custom provider-\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438 \u2014 SecMan.SecMan \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2014 \u043f\u0440\u043e\u0441\u0442\u043e REST API, \u043e\u0442\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u044b. \u0412\u043d\u0443\u0442\u0440\u0438 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u00ab\u0434\u0432\u0438\u0436\u043a\u0438\u00bb \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438 \u043e\u0442\u0432\u0435\u0442\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0434\u0432\u0438\u0436\u043a\u0430 KV (\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 key-value \u2014 \u0438\u043c\u0435\u043d\u0430 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432):curl -k https:\/\/host.ru\/path\/to\/secret\/engine\/kv -H &#171;X-Vault-Namespace: some_namespace&#187; -H &#171;X-Vault-Token: some_token&#187;{  &#171;data&#187;: {    &#171;CLICKHOUSE_PASSWORD&#187;: &#171;pass123&#187;,    &#171;POSTGRES_PASSWORD&#187;: &#171;pass456&#187;,    &#171;SOME_TOKEN&#187;: &#171;base64_encoded_token&#187;  },}\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u043d custom NiFi-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c SecmanParameterProvider. \u042d\u0442\u043e \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a \u043a\u043b\u0430\u0441\u0441\u0430 org.apache.nifi.parameter.AbstractParameterProvider \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 org.apache.nifi:nifi-api. \u041f\u043e\u0434\u043e\u0431\u043d\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c, \u043e\u043d \u0438\u043c\u0435\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u2014 \u0430\u0434\u0440\u0435\u0441 SecMan, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0432\u0438\u0436\u043a\u0438 (\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0443\u0442\u044c), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 SSLContextService, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 SSL\/TLS-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 SecmanParameterProvider:\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 SSLContextService (\u0432 Truststore Filename \u043f\u0443\u0442\u044c \u0434\u043e JKS \u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 REST API SecMan):\u041a\u043b\u0430\u0441\u0441 SecmanParameterProvider \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 List&lt;ParameterGroup&gt; fetchParameters(ConfigurationContext context) \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 org.apache.nifi.parameter.ParameterProvider \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c NiFi \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u00abFetch parameters\u00bb \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 SecMan, \u0430 \u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 List&lt;ParameterGroup&gt;, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a NiFi \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432 parameter context.\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 custom-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 NiFi \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u0435\u0442\u0438. \u0415\u0441\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u0440\u0430\u0442\u043a\u043e: \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442 Maven-\u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u0430 org.apache.nifi:nifi-nar-bundles, NiFi NAR Maven Plugin, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 mvn clean install. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0444\u0430\u0439\u043b .\/[project]-nar\/target\/[project]-[version].nar. \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0443 $NIFI_HOME\/lib \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 NiFi, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0435\u0433\u043e \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c SecmanParameterProvider \u043a\u0430\u043a \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u0442\u0430\u043a \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e.\u0414\u0430\u043b\u044c\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0439 \u043f\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0434\u0436\u0430\u0440\u043d\u0438\u043a nifi-deployer. \u041d\u0430\u043f\u043e\u043c\u043d\u044e \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0438: \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 (\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432), \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0443\u043f\u043f\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0438 \u0444\u0430\u0439\u043b \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b), \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c-\u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u043f\u043e\u0442\u043e\u043a\u0430; nifi-deployer \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0438\u0445 (\u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b api-data \u0432 \u0442\u0435\u043a\u0441\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e placeholder-\u0430\u043c \u0442\u0438\u043f\u0430 [[ parameter ]]), \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 Registry \u0438 NiFi, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 variables \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u043e \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c. \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0433 \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 parameter provider-\u0430 \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u043c NiFi. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 REST API NiFi POST \/controller\/parameter-providers. \u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u044f \u0438 \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435 NiFi \u043c\u043e\u0433\u0443\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043d\u0430\u0431\u043e\u0440\u0430\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432). \u0412\u0441\u0435 \u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0438 \u0440\u0430\u0437\u043d\u044f\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u0442\u0435\u043d\u0434\u0430\u043c\u0438 (\u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, \u0430\u0434\u0440\u0435\u0441 \u0438 \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 SecMan), \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u0438\u0437 Jenkins pipeline.\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434 fetchParameters: POST \/parameter-providers\/$providerId\/parameters\/fetch-requests. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0438\u043c\u0451\u043d (\u043a\u043b\u044e\u0447\u0435\u0439) \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0432 POST \/parameter-providers\/$providerId\/apply-parameters-requests, \u0432 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 NiFi \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f parameter context. \u0415\u0433\u043e \u0438\u043c\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e\u0442\u043e\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u043e\u0439 \u0432 Registry, \u0442\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0432\u044f\u0437\u044c \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c context-\u043e\u043c.\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f:java -jar nifi-deployer-0.38-SNAPSHOT.jar -i nifi.url=http:\/\/localhost:8081\/nifi-api registry.url=http:\/\/localhost:18080\/nifi-registry-api bucket.name=default import.version.file=rdbms-exact-json-1.24.json import.variable.file=rdbms-exact-json.json user=&#8230; password=&#8230; ssl.keystore.filename=nifi.p12 import.api.data.default=secmanSSLControllerServiceName=SecManSSLService|secmanURL=https:\/\/&#8230;\/v1|secmanNamespace=namespace1|secmanRoleId=role1|secmanSecretId=secret1|secmanNamespacePlatform=namespace2|secmanRoleIdPlatform=role2|secmanSecretIdPlatform=secret2|secmanSecretPathPlatform=path\/to\/secrets\/for\/flow\/name|secmanParameterProviderVersion=0.2\u0412 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 import.api.data.default \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 key-value \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432 provider-\u0430 \u2014 \u0446\u0435\u043b\u0435\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, \u0430\u0434\u0440\u0435\u0441 SecMan, \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0443\u0442\u044c \u0432 KV-\u0434\u0432\u0438\u0436\u043a\u0435 \u0434\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430.\u0416\u0443\u0440\u043d\u0430\u043b \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f:11.09.2026 21:28:50.921 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ &#8212; read template from file \/home\/&#8230;\/rdbms-exact-json-1.24.json11.09.2026 21:28:50.938 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ &#8212; read metadata from file \/home\/&#8230;\/rdbms-exact-json.json11.09.2026 21:28:51.079 [main] INFO deployTemplateAndMetadata2RegistryAndNiFi$ &#8212; parse template from file \/home\/&#8230;\/rdbms-exact-json-1.24.json11.09.2026 21:28:51.128 [main] INFO getParameterProviderInfo$ &#8212; use param provider template from resources for version 0.211.09.2026 21:28:51.129 [main] INFO ApiNiFiImport &#8212; get parameter provider rdbms-exact-json-example11.09.2026 21:28:51.129 [main] DEBUG HttpClient &#8212; GET http:\/\/localhost:8081\/nifi-api\/flow\/parameter-providers11.09.2026 21:28:51.209 [main] INFO getParameterProviderInfo$ &#8212; create parameter provider rdbms-exact-json-example11.09.2026 21:28:51.210 [main] INFO ApiNiFiImport &#8212; get controller service SecManSSLService11.09.2026 21:28:51.210 [main] DEBUG HttpClient &#8212; GET http:\/\/localhost:8081\/nifi-api\/flow\/controller\/controller-services11.09.2026 21:28:51.253 [main] INFO ApiNiFiImport &#8212; create parameter provider11.09.2026 21:28:51.254 [main] DEBUG HttpClient &#8212; POST http:\/\/localhost:8081\/nifi-api\/controller\/parameter-providers11.09.2026 21:28:51.270 [main] INFO ApiNiFiImport &#8212; fetch parameters with provider 91bac3ba-01a0-1000-e886-4413b32df0ce11.09.2026 21:28:51.275 [main] DEBUG HttpClient &#8212; POST http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/parameters\/fetch-requests11.09.2026 21:28:51.790 [main] INFO ApiNiFiImport &#8212; apply parameters with provider 91bac3ba-01a0-1000-e886-4413b32df0ce, create context11.09.2026 21:28:51.796 [main] DEBUG HttpClient &#8212; POST http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests11.09.2026 21:28:52.848 [main] DEBUG HttpClient &#8212; GET http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests\/fc3fd9a0-2595-41f0-a233-d694097bc1ed11.09.2026 21:28:52.871 [main] DEBUG HttpClient &#8212; DELETE http:\/\/localhost:8081\/nifi-api\/parameter-providers\/91bac3ba-01a0-1000-e886-4413b32df0ce\/apply-parameters-requests\/fc3fd9a0-2595-41f0-a233-d694097bc1ed11.09.2026 21:28:52.906 [main] INFO ApiRegistry &#8212; get all flow versions from Registry11.09.2026 21:28:52.906 [main] INFO ApiRegistry &#8212; get bucket ID for bucket name default11.09.2026 21:28:52.907 [main] DEBUG HttpClient &#8212; GET http:\/\/localhost:18080\/nifi-registry-api\/buckets11.09.2026 21:28:52.934 [main] INFO ApiRegistry &#8212; using bucket 13a3c613-105b-44ce-bc86-3ce5756800a111.09.2026 21:28:52.934 [main] INFO ApiRegistry &#8212; get flow ID for flow name rdbms-exact-json-example and bucketId 13a3c613-105b-44ce-bc86-3ce5756800a111.09.2026 21:28:52.934 [main] DEBUG HttpClient &#8212; GET&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-495223","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/495223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=495223"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/495223\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=495223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=495223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=495223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}