cognito-jwt-util

1.0.0 • Public • Published

JWT Token Generator

A CLI tool to generate JWT tokens for Amazon Cognito User Pools.

Installation

Install the package globally using npm:

npm install -g cognito-jwt-util

Usage

cognito-jwt-util -u <username> -p <password> -c <clientId> -P <userPoolId>

Options:

  • -u, --username <username>: Username
  • -p, --password <password>: Password
  • -c, --client-id <clientId>: Cognito User Pool Client ID
  • -P, --user-pool-id <userPoolId>: Cognito User Pool ID

Example:

cognito-jwt-util -u johndoe -p mypassword123 -c abcdef123456 -P us-east-1_abcdefgh

License

MIT

/cognito-jwt-util/

    Package Sidebar

    Install

    npm i cognito-jwt-util

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.43 kB

    Total Files

    4

    Last publish

    Collaborators

    • amirhajimirsadeghi