Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update AllowManageOwnAccessKeys statement #432

Conversation

vutny
Copy link
Contributor

@vutny vutny commented Nov 10, 2023

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?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

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
@vutny vutny changed the title fix(iam-group-with-policies): correct AllowManageOwnAccessKeys statement fix(iam-group-with-policies): Correct AllowManageOwnAccessKeys statement Nov 10, 2023
@vutny
Copy link
Contributor Author

vutny commented Nov 10, 2023

@antonbabenko , please review. Thanks in advance!

@bryantbiggs bryantbiggs changed the title fix(iam-group-with-policies): Correct AllowManageOwnAccessKeys statement fix: Update AllowManageOwnAccessKeys statement Nov 10, 2023
@bryantbiggs bryantbiggs merged commit 741afc9 into terraform-aws-modules:master Nov 10, 2023
36 of 37 checks passed
antonbabenko pushed a commit that referenced this pull request Nov 10, 2023
### [5.30.2](v5.30.1...v5.30.2) (2023-11-10)

### Bug Fixes

* Update AllowManageOwnAccessKeys statement ([#432](#432)) ([741afc9](741afc9))
@antonbabenko
Copy link
Member

This PR is included in version 5.30.2 🎉

@vutny vutny deleted the fix-self-manage-policy-access-keys branch November 10, 2023 14:56
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants