Enabling IAM database authentication for an AWS Neptune cluster enhances the security of database infrastructure by leveraging the robust AWS IAM authentication, centralized user management, least privilege access controls, and integration with other AWS security features. Using this feature can help conform to regulatory and compliance specifications as well as adhere to industry best practices.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-modify.html
https://docs.aws.amazon.com/neptune/latest/userguide/iam-auth.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/neptune_cluster#iam_database_authentication_enabled