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

Support IAM Authentication for AWS DocumentDB (MongoDB Compatible) by Skipping Password Validation #42

Open
loknirvan opened this issue Aug 22, 2024 · 0 comments

Comments

@loknirvan
Copy link

AWS RDS DocumentDB (MongoDB-compatible) has introduced IAM authentication, requiring the creation of users in the $external database. According to the specifications, DocumentDB throws an error if a password is provided for IAM users, as they do not require a password. However, in the current Terraform provider, the password field is mandatory, causing a validation error before applying changes. This story involves updating the provider to handle IAM users without requiring a password, ensuring smooth integration with the new authentication method.

Acceptance Criteria:

  1. Modify the provider to allow the creation of users in the $external database without a password when using IAM authentication.
  2. Ensure no validation errors occur when a password is not provided for IAM users.
  3. Validate the successful creation of IAM-authenticated users in AWS DocumentDB without password requirements.

AWS IAM Authentication with DocumentDB (Mongodb compatible) documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant