Skip to content

Instantly share code, notes, and snippets.

View elisherer's full-sized avatar
🤘
Making magic happen!

Eli Sherer elisherer

🤘
Making magic happen!
View GitHub Profile
@elisherer
elisherer / aws-sso-login.sh
Created May 12, 2022 13:05 — forked from aharonha/aws-sso-login.sh
Login to aws sso and create credentials file
#! /bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
installer=`which brew || which yum || which apt-get`
which jq >/dev/null || $installer install jq
if [ $? -ne 0 ]; then
echo -e ${RED} unable to install jq, please run $installer install jq $NC