[ 
https://issues.apache.org/jira/browse/NIFI-13231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852043#comment-17852043
 ] 

ASF subversion and git services commented on NIFI-13231:
--------------------------------------------------------

Commit cfcae70d3781a2d425251b21e88dc61ffbd12d98 in nifi's branch 
refs/heads/main from maybevanshh
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cfcae70d37 ]

NIFI-13231 Added App Private Key Auth to GitHub FlowRegistryClient

This closes #8890

Signed-off-by: David Handermann <exceptionfact...@apache.org>
Co-authored-by: David Handermann <exceptionfact...@apache.org>


> Update GitHubFlowRegistryClient to generate App Installation Token
> ------------------------------------------------------------------
>
>                 Key: NIFI-13231
>                 URL: https://issues.apache.org/jira/browse/NIFI-13231
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M3
>            Reporter: Brian Ghigiarelli
>            Assignee: Vansh Chaudhary
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The new GitHubFlowRegistryClient accepts two types of authentication:
>  # Personal Access Token
>  # App Installation Token
> The App Installation Token requires the user to input the token as a 
> property, then uses that to communicate with GitHub. However, this token is 
> short-lived and would require frequent updates (~hourly).
> Instead of directly providing the token, the GitHubFlowRegistryClient should 
> accept as properties:
>  # App ID
>  # Private Key (PEM text format)
> and use these values to generate a short-lived token, following the guide at 
> https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app#generating-a-json-web-token-jwt



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to