Greg Hendrickson bcb0973cdb feat(aws): add assume-role.sh with MFA support and session caching
- MFA token prompting with auto-detection
- Session caching to ~/.aws/cli/cache (5-min buffer)
- Cross-account support with external-id
- Eval-friendly output for shell sourcing
- AWS CLI profile-aware
- Configurable session duration (up to 12h)
- Comprehensive README with usage examples
2026-02-03 18:01:49 +00:00

DevOps Scripts

Bash Python License

Collection of battle-tested automation scripts for DevOps workflows.

Categories

├── bash/           # Shell scripts
├── python/         # Python automation
├── aws/            # AWS CLI helpers
├── kubernetes/     # kubectl wrappers
├── docker/         # Docker utilities
└── git/            # Git automation

Highlights

  • 🔧 aws/assume-role.sh - Easy role assumption with MFA
  • 🐳 docker/cleanup.sh - Prune unused images/volumes
  • ☸️ kubernetes/pod-logs.sh - Aggregate logs from multiple pods
  • 🔄 git/sync-forks.sh - Keep forks up to date

Installation

git clone https://github.com/ghndrx/devops-scripts.git
export PATH="$PATH:$(pwd)/devops-scripts/bash"

License

MIT

Description
No description provided
Readme 29 KiB
Languages
Shell 100%