RDS IAM authentication is disabled Affecting RDS service in AWS


Severity

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

Is your environment 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-ControlsHIPAAISO-27001SOC-2
  • Snyk IDSNYK-CC-00231
  • creditSnyk 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
}