headless-sso

command module
v0.0.0-...-7a4ada6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

headless-sso

Runs aws sso login headlessly when using the --no-browser option.

Go Reference Go Report Card

Background

We want to avoid leaving the terminal and opening yet another tab and having to click Next next next...

Install

go install github.com/sayuthisobri/headless-sso@latest

Usage:

aws sso login  --profile pp --no-browser | headless-sso

Note: headless-sso gets the AWS user credentials from a .netrc file with the following format:

machine name has to be headless-sso

machine headless-sso
login <username>
password <something-secret>

Example:

headless-sso demo

Limitations:

  • Only works with hardware MFA/U2F - Need to read MFA code from stdin.

Release Notes:

Working but Still WiP, Contributions welcome.

License:

Apache-2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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