GitHunt
HO

hogelog/aws-sso-profile

A small script to set up your shell environment for an AWS SSO profile

aws-sso-profile

A small script to set up your shell environment for an AWS SSO profile.

Usage

eval $(aws-sso-profile <profile-name>)

This will run aws sso login if needed, then export AWS_PROFILE and AWS_DEFAULT_REGION.

Requirements

  • Ruby
  • AWS CLI v2

Languages

Ruby100.0%

Contributors

Created February 19, 2026
Updated February 19, 2026