def check_access_key_rotation(self, iamuser_item):
        """
        alert when an IAM User has an active access key created more than 90 days go.
        """
        akeys = iamuser_item.config.get('accesskeys', {})
        for akey in akeys.keys():
            if u'status' in akeys[akey]:
                if akeys[akey][u'status'] == u'Active':
                    create_date = akeys[akey][u'create_date']
                    create_date = parser.parse(create_date)
                    if create_date < self.ninety_days_ago:
                        notes = "> 90 days ago"
                        self.add_issue(1, 'Active accesskey has not been rotated.', iamuser_item, notes=notes)
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/auditors/iam/iam_user.py/IAMUserAuditor.check_access_key_rotation/original