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

test(e2e): Add module for iam user with credential rotation support #4718

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

moduli
Copy link
Collaborator

@moduli moduli commented Apr 24, 2024

This PR updates an enos module that creates an IAM user to add support for credential rotation. The module was updated with the following

  • a new variable to the module to decide whether or not credential rotation support is needed (default: false)
  • if credential rotation support is enabled, the IAM user needs the force_destroy option set to true in order for terraform to successfully clean up afterwards (otherwise you'll get an error like Cannot delete entity, must delete access keys first. since new access keys were created)
  • if credential rotation is enabled, another policy is added to the user that allows the user to rotate its access keys

There will be a follow-up PR in boundary-enterprise to add the associated tests.
There will also be follow-up work to add similar tests using MinIO

@moduli moduli added pr/no-milestone Ignores the Milestone Check backport/0.16.x labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/0.16.x pr/no-milestone Ignores the Milestone Check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants