terraform-aws-modules / terraform-aws-iam

Terraform module to create AWS IAM resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/iam/aws
Apache License 2.0
787 stars 996 forks source link

fix: Update AllowManageOwnAccessKeys statement #432

Closed vutny closed 11 months ago

vutny commented 11 months ago

Description

The "AWS: Self-manage credentials with MFA (My security credentials)" reference policy got updated by AWS in the docs[1] and this implements the following correction:

The AllowManageOwnAccessKeys statement allows the user to create, update, and delete their own access keys. The user can also retrieve information about when the specified access key was last used.

  1. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_aws_my-sec-creds-self-manage.html

Motivation and Context

Having the self-management policy up to date with AWS recommendations.

Breaking Changes

None.

How Has This Been Tested?

vutny commented 11 months ago

@antonbabenko , please review. Thanks in advance!

antonbabenko commented 11 months ago

This PR is included in version 5.30.2 :tada:

github-actions[bot] commented 10 months ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.