josephxsxn

API Kerb Token API Call

May 5th, 2017
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. curl --negotiate -u : -X POST -k https://<host>:<port>/nifi-api/access/kerberos -v  
  2.  
  3. The token returned is formatted as a JSON Web Token (JWT). The token is base64 encoded and comprised of three parts. The header, the body, and the signature. The expiration of the token is a contained within the body. The token can be used in the Authorization header in the format 'Authorization: Bearer <token>'.
Advertisement
Add Comment
Please, Sign In to add comment