acoustic-scientist-20961
05/08/2025, 1:08 PMaws.iam.User
Also user might have multiple access keys, so need to iterate trough each onehigh-painter-73966
05/08/2025, 3:32 PMhigh-painter-73966
05/08/2025, 3:33 PMacoustic-scientist-20961
05/08/2025, 3:33 PMfor key in aws.iam.get_access_keys(aws_user.name).access_keys:
key.update({"status":"Inactive"})
?acoustic-scientist-20961
05/08/2025, 3:34 PMUserLoginProfile
I still didn't get how to prevent console login?high-painter-73966
05/08/2025, 3:34 PMhigh-painter-73966
05/08/2025, 3:35 PMacoustic-scientist-20961
05/08/2025, 3:35 PMacoustic-scientist-20961
05/08/2025, 3:36 PMUserLoginProfile
so I dont her ref on that obejct to delete ithigh-painter-73966
05/08/2025, 3:36 PMacoustic-scientist-20961
05/08/2025, 3:36 PMacoustic-scientist-20961
05/08/2025, 3:37 PMhigh-painter-73966
05/08/2025, 3:39 PM