iam:UpdateAccessKey is a Write access-level action in the iam service. Grants permission to update the status of the specified access key as Active or Inactive
ARNs that iam:UpdateAccessKey can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants iam:UpdateAccessKey.
Filters access by the tags attached to an IAM entity (user or role)
Filters access based on the tags associated with the resource
A minimal policy that allows iam:UpdateAccessKey. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIamUpdateAccessKey",
"Effect": "Allow",
"Action": "iam:UpdateAccessKey",
"Resource": "*"
}
]
}