Skip to content

Instantly share code, notes, and snippets.

View pnagwekar's full-sized avatar

Parag Nagwekar pnagwekar

  • San Jose, California
View GitHub Profile
@pnagwekar
pnagwekar / assume_root_credentials.sh
Created June 9, 2025 18:25 — forked from sebsto/assume_root_credentials.sh
Assume Root on AWS member accounts
#!/bin/bash
AWS_ACCOUNT_ID=012345678901
# Check if jq is installed
if ! command -v jq &> /dev/null; then
echo "Error: jq is not installed. Please install jq to parse JSON."
exit 1
fi