"token expired" againA tiny daemon that automatically refreshes your AWS SSO sessions before they expire.
$ brew install jhubbardsf/aws-sso-refresh/aws-sso-refresh
Your AWS SSO tokens expire every few hours. You're deep in work, run a command, and... "The SSO session has expired". Context switch. Browser. Click. Wait. Back to work.
Install the daemon once. It checks every 10 minutes and refreshes sessions before they expire. Your tokens stay fresh. You stay focused.
Reads your existing ~/.aws/config. If you have SSO sessions, it just works.
Uses macOS launchd to check every 10 minutes. Opens browser only when needed.
Install with Homebrew. Run aws-sso-refresh install. Done.