You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/08/07 18:19:14 UTC

[GitHub] [nifi] bbende opened a new pull request #4461: NIFI-7719 Allow NiFi CLI to use additional authN mechanisms

bbende opened a new pull request #4461:
URL: https://github.com/apache/nifi/pull/4461


   This PR is marked as a draft as it depends on changes to the nifi-registry-client that are submitted here:
   
   https://github.com/apache/nifi-registry/pull/293
   
   Once NiFi Registry 0.8.0 is released, this PR can be update to remove the SNAPSHOT version and then be committed. For now a reviewer would have to build that corresponding PR to have the 0.8.0-SNAPSHOT artifacts available locally.
   
   This PR introduces three new commands to NiFi and NiFi Registry...
   
   `get-acces-token` - Obtains a token by passing credentials to /token end-point and returns the base64 token (i.e. as if you logged into the login page in NiFi UI)
   
   `get-access-token-spnego` - Obtains a token using kerberos by negotiating with the the /token/kerberos end-point. This command allows specifying a principal and optionally a keytab or password, if neither are provided it falls back to using the ticket cache (i.e. you did a kinit before using CLI)
   
   `logout-access-token` - Performs a logout using the given access token, making it invalid for future requests
   
   The base arguments for all commands were updated to add the following arguments:
   
   `bearerToken` - The base64 toke obtain from one of the two token methods above. If specified then requests made by the command will send the header `Authorization: Bearer <token>`
   
   `basicAuthUsername / basicAuthPassword` - The username and password for basic authentication. If specified then requests made by the command will send the header `Authorization: Basic <base64 creds>`
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [nifi] asfgit closed pull request #4461: NIFI-7719 Allow NiFi CLI to use additional authN mechanisms

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #4461:
URL: https://github.com/apache/nifi/pull/4461


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org