Skip to content

youyo/awslogin

Repository files navigation

awslogin

Go Report Card

Description

Login to the AWS management console.

Install

  • Brew
$ brew install youyo/tap/awslogin

Other platforms are download from github release page.

Usage

$ awslogin
Login to the AWS management console.

Usage:
  awslogin [flags]

Flags:
  -b, --browser string   Opens with the specified browse application
  -h, --help             help for awslogin
  -O, --output-url       output signin url
  -p, --profile string   use a specific profile from your credential file. (default "default")
  -S, --select-profile   interactive select profile
      --version          version for awslogin

Login AWS management console.

$ awslogin
(open browser using default profile or $AWS_PROFILE)

Login AWS management console using a specific profile.

$ awslogin --profile profile-1
(open browser using selected profile)

Login AWS management console using interactive select.

$ awslogin --select-profile
(open browser using selected profile)

Output SigninURL.

$ awslogin --output-url
https://signin.aws.amazon.com/federation?Action=...

Author

youyo