Using JWT from the API Connector

Has anyone had success with the API Connector plugin using JWT authorization? I am having problems understanding how to decrypt the private key and create a JWT assertion that I can use to receive a bearer token to use in a POST call. Any help or guidance is much appreciated!