I've installed both packages on my Mac (Big Sur)
brew tap xen0l/homebrew-taps
brew install aws-gate
# For installing session-manager-plugin via Homebrew (optional)
brew install --cask session-manager-plugin
However when I forward the port e.g. connect to RDS from my bastion:
aws-gate ssh -L 3306:rdsstack-dbclustdgf587f-1oogdfgezp2mu.cluster-1oogdfgezp2mu.eu-central-1.rds.amazonaws.com:3306 i-0ec5976f8889b1099
It tries to execute the session-manager-plugin from the .aws-gate/bin/ folder
zsh:1: no such file or directory: ~/.aws-gate/bin/session-manager-plugin
Brew installs the session-manager-plugin by default in /usr/local/bin/session-manager-plugin
For now I fixed it by doing:
cp -rp /usr/local/bin/session-manager-plugin ~/.aws-gate/bin/session-manager-plugin