Discover Old Password Users

Discover IAM users with passwords older than a certain age.

Source codePermissions

Usage

Input

Parameter Description Type Required Default value
threshold_days Get users with a password older than this number of days int Yes None
region Region for operation string No Session default
debug Increase log verbosity bool No False
silent Decrease log verbosity bool No False
output Output format
table
string No None
session Established session object No None

Output

Returns a list of dictionaries of discovered users:

[{"UserName": "string"}]

Examples

Discover users with passwords older than 60 days:

aaws iam discover_old_password_users --threshold_days 60