Simply login to an AWS service and account (profile) through raycast.
brew install --cask raycastbrew tap common-fate/granted
brew install grantedOR
brew install --cask aws-vault- Clone this repo to
~/.raycast/git clone https://github.com/davidgfitzgerald/raycast-assume ~/.raycast/scripts - Tell raycast to look in
~/.raycast/scriptsfor scriptsCmd + Space(to open raycast)Cmd + ,(to configure raycast)- Navigate to
Extensions->Scripts - Click on
Script Commands - Click
Add Directoriesand add~/.raycast/scripts
The AWS Profile dropdown in both aws.sh and avl.sh must be
populated manually and can be generated from a python script by
simply running:
python utils/profile_extractor.pyThis will generate profiles.json. The contents of this
file must be copied into the data of the Profile argument
in aws.sh or avl.sh.
Cmd + Space(to open raycast)aws(typeaws) ORavl(typeavl)- Choose service + account from dropdown
- Browser opens AWS to that service + account
The Service dropdown arguments are populated from here: https://github.com/fwdcloudsec/granted/blob/main/pkg/console/service_map.go