Policy Setting: AWS > IAM > Access Key > Active > Last Modified
Policies
This policy setting is dependent on the following policy types:
Source
resource "turbot_policy_setting" "aws_iam_access_key_active_last_modified" { resource = turbot_policy_pack.main.id type = "tmod:@turbot/aws-iam#/policy/types/accessKeyActiveLastModified" note = "Prevents newly created access keys from being deleted for not having been used recently." value = "Force active if last modified <= 7 days"}