Skip to content

Instantly share code, notes, and snippets.

View Lowess's full-sized avatar
💭
👑🥕

Florian Dambrine Lowess

💭
👑🥕
View GitHub Profile
@Lowess
Lowess / README.md
Last active April 9, 2025 13:10
awsp

🔐 awsp: Simple AWS SSO Profile Switcher for Your Shell

awsp is a tiny shell function to quickly switch AWS profiles based on AWS SSO account names. It uses your existing SSO session cache and sets the AWS_PROFILE environment variable in your shell.


🧩 What It Does

Given an account name (e.g., media-prod), it:

  1. Locates your active AWS SSO session token.