Categorygithub.com/ozgurcd/goAwsConsole
repositorypackage
0.0.0-20240829045634-b868d65a8611
Repository: https://github.com/ozgurcd/goawsconsole.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

goAwsConsole

This application works as CLI and opens the AWS console in the default browser using the profile settings preconfigured.

To make it more clear, here is a video:

GAC Demo

Since it uses AWS STS to assume the role, it is necessary to pre-configure the role in the AWS before using it. By default, it uses the role 'SREAccess'.

Build:

make

will compile the application for your current OS and architecture. If you want to build for a different OS or architecture, the available options are: linux, mac, macintel and windows. For example, if you want to build for Linux, you can use the following command to build for a different OS or architecture:

make linux

Usage:

goAwsConsole

  -browser string
        Browser to use for opening the console (default "Google Chrome")
  -duration int
        Duration of the assumed role (default 3600)
  -profile string
        AWS profile to use
  -profile-dir string
        Directory to store profiles, only valid for Google Chrome
  -region string
        AWS region to use (default "us-west-2")
  -role string
        AWS role to assume
  -separate-window
        Open the console in a separate window

Tested only on MacOS. Please let me know if you can test on Linux & Windows.