RDS IAM authentication is disabled Affecting RDS service in AWS


0.0
medium
0
10
    Severity Framework Snyk CCSS
    Rule category IAM / Access

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls HIPAA ISO-27001 SOC-2
  • Snyk ID SNYK-CC-00231
  • credit Snyk Research Team

Description

IAM database authentication is disabled and authentication tokens are not used to connect to DB instance. Users will connect to DB instance with passwords, which are less secure than temporary tokens that expire.

How to fix?

Ensure that the aws_db_instance iam_database_authentication_enabled field is set to true.

Example Configuration

resource "aws_db_instance" "d" {
  iam_database_authentication_enabled = true
  # other required fields here
}