You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
aws iam update-account-password-policy broken in Python 3.14 #10038
We have installed awscli v1.44.27 with Python 3.14.2.
Now when we run aws iam update-account-password-policy --minimum-password-length <X> --require-symbols --password-reuse-prevention <X> it always fails with the following error:
badly formed help string
This bug does not manifest with Python 3.13.
Note: While the v2 CLI does not yet support Python 3.14, the v1 CLI claims to.
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
The command should work as it always has.
Current Behavior
It's totally broken.
Reproduction Steps
Run the aforementioned command in the aforementioned context.
Hello @rittneje, thanks for reaching out and bringing this up. We have confirmed that this is a bug and we are working on a fix. We have also found another command that gives the same error: aws secretsmanager get-random-password.
We recommend using Python 3.13 for now until the fix is applied.
@rittneje, thanks for the patience. A fix has been merged and I have tried the command: aws iam update-account-password-policy --minimum-password-length <X> --require-symbols --password-reuse-prevention <X>
looks like it seems to work now from CLI v1 version: aws-cli/1.44.32. Please try again and let us know if there are still issues.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Activity
adev-code commentedon Jan 29, 2026
Hello @rittneje, thanks for reaching out and bringing this up. We have confirmed that this is a bug and we are working on a fix. We have also found another command that gives the same error:
aws secretsmanager get-random-password.We recommend using Python 3.13 for now until the fix is applied.
adev-code commentedon Feb 5, 2026
@rittneje, thanks for the patience. A fix has been merged and I have tried the command:
aws iam update-account-password-policy --minimum-password-length <X> --require-symbols --password-reuse-prevention <X>looks like it seems to work now from CLI v1 version:
aws-cli/1.44.32. Please try again and let us know if there are still issues.rittneje commentedon Feb 7, 2026
Thanks, it is working now with the latest release.
adev-code commentedon Feb 7, 2026
@rittneje Thanks for the update. Closing.
github-actions commentedon Feb 7, 2026
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.