sincecutoff.com
← all changes

aws login supports --redirect-port

Introduced 2026-09-24 · score 0.93

HOW TO USE IT

When fixing the Authorization Code callback port, run `aws login --redirect-port <port>` to use that localhost port for the callback server.

aws login --redirect-port <port>

WHY THIS HELPS

When fixing the callback port for an Authorization Code login, select a fixed port for the callback server.

REQUIREMENTS AND LIMITATIONS

  • Version: 2.37.2
  • --redirect-port <value>: Integer localhost port for the Authorization Code callback server. If omitted, a random available port is selected; the option is ignored when the login flow does not use a callback server.
  • Prerequisite: The release note introduces this option in AWS CLI 2.37.2.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card