@fega/key-store-generator
v1.0.0
Published
Generates a set of keyids and secrets for jwt usage
Downloads
1
Readme
quick key-store generator.
A quick cli HMAC keys for JWT implementations.
Usage
npm i -g @fega/key-store-generator
# usage: key-store-generator <NumberOfKeys>
key-store-generator 4
# example output:
{
"YKdD6sL7Hb": "ycNNpLJu+o1UmhxwapH4qqeikHNrFHrxwzeNbx2+c0nTFSdU1XGtpq/4Y5+i9QEz",
"hHM2qYkVhZ": "ryzWLP89NE/H5p+VND2r7+3+e121WFD+naG2HmLOCBGatGsgrf4mRyCNSHh2XLFl",
"+/GMrhwOa6": "c+vCFdsDfkOD1TQI4qddQlkJZUsQQXx7gh/8tb/EShhhG700eNKBbC1RTMBEEX5W",
"USvp9X+i6+": "nQIUQlwsLvX7WdAo6TMi+0CIAUdAOWBeFV6/PO4BtMoOuhNOWCKMg1R1Uq9RPp5S"
}
Licence
MIT