Skip to content

highwingio/incognito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incognito

A wrapper script for generating tokens from AWS Cognito

Installation

Since go get doesn't support modules just yet, it's easiest to install using https://github.com/FiloSottile/homebrew-gomod:

brew install FiloSottile/gomod/brew-gomod
brew gomod github.com/highwingio/incognito
export AWS_REGION=<region>

Usage

Once installed, you'll need to run incognito login once with your username, password, user pool ID, and client ID, which will confirm those credentials with Cognito then store them securely using Keyring.

After that, you can run incognito generate anytime to generate a new Cognito token to be used elsewhere. You can use something like the following to automatically copy it to your clipboard:

$ incognito generate | pbcopy

Development

Incognito is written in Go.

We use Cobra to structure/manage the CLI commands.

There are no tests currently, but PRs are welcome!

About

CLI to generate AWS Cognito tokens

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages