incognito

command module
v0.0.0-...-fc63f81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 1 Imported by: 0

README

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!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL