View definition

(Config).PrivateKey

Defined in github.com/golang/oauth2/jwt/jwt.go

Description

PrivateKey contains the contents of an RSA private key or the contents of a PEM file that contains a private key. The provided private key is used to sign JWT payloads. PEM containers with a passphrase are not supported. Use the following command to convert a PKCS 12 file into a PEM.

$ openssl pkcs12 -in key.p12 -out key.pem -nodes