1.0.0 • Published 3 months ago

cognito-jwt-util v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

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