Repository navigation
v1.4.0: AWS SSO Authentication Improvements
🚀 New Features
- Script Renamed: The
auth_awsscript has been renamed toauthawsfor improved usability - Credentials Display: New
credscommand to view your AWS access key, secret key, and session token:authaws creds [profile-name]
- Better Integration: Enhanced integration with AWS CLI for credential management
- Improved User Experience: More intuitive command naming and structure
🔧 Improvements
- Updated help text and documentation to reflect new features
- Enhanced error handling for credentials retrieval with specific guidance for different scenarios
- Better guidance for users during authentication process
- Streamlined command structure for easier memorization
- Suppressed misleading "Not a tty" error message during SSO login
🔄 Migration Guide
For users with manual installation:
-
Update your repository:
cd /path/to/quickssm git pull -
Make the new script executable:
chmod +x authaws
-
Update your PATH or symlinks as needed
For users with symlinked installation:
If you've installed the tool using symlinks in /usr/local/bin or similar:
# Navigate to your quickssm directory
cd /path/to/quickssm
# Pull the latest changes
git pull
# Make the script executable
chmod +x authaws
# Update symlinks (may require sudo)
sudo ln -sf "$(pwd)/authaws" /usr/local/bin/authaws
sudo rm -f /usr/local/bin/auth_aws # Remove old symlinkFor users who need backward compatibility:
If you have scripts or aliases that reference the old name:
# Create a symlink from the old name to the new script
ln -s "$(pwd)/authaws" "$(pwd)/auth_aws"📝 Usage Examples
Authentication:
authaws myprofile # Log in with specific profileViewing Credentials:
authaws creds myprofile # Show credentials for specific profile
authaws creds # Show credentials for current or default profileApplying Credentials to Current Shell:
eval $(aws configure export-credentials --profile myprofile --format env)