suneg / aps

Aws Profile Switcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aws Profile Switch

A small deno-based command line tool for quickly switching between AWS profiles. Works by substituting which of your profiles defined in ~/.aws/credentials is the default one.

Prerequisites

Deno runtime required. Get it from https://deno.land

Setup

git clone https://github.com/suneg/aps.git ~/.aps

Add the following line to your ~/.bashrc

export PATH="$PATH:~/.aps/bin"

Usage - switching between profiles

$ aps personal
Current AWS profile: personal

$ aps
  terraformtest
* personal
  githubcli

About

Aws Profile Switcher


Languages

Language:TypeScript 96.8%Language:Shell 3.2%