# Install AWS CLIbrew install awscli# Install the endpoint plugin (allows to configure endpoints in profiles)/opt/homebrew/bin/pip3 install --user --break-system-packages awscli-plugin-endpoint# Create directory for configuration filesmkdir -p ~/.aws# Set permissions on the directorychmod 700 ~/.aws
Configure the plugin by modifying ~/.aws/config - adjusting the cli_legacy_plugin_path as needed: