🛡️ AWS RDS Cluster IAM Database Authentication is not enabled🟢
- Contextual name: 🛡️ Cluster IAM Database Authentication is not enabled🟢
- ID:
/ce/ca/aws/rds/cluster-iam-authentication - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- AWS Security Hub: [RDS.12] IAM authentication should be configured for RDS clusters
Description
Description
This policy identifies AWS RDS clusters that are not configured to use IAM Database Authentication. IAM Database Authentication enables passwordless access to database instances by using temporary authentication tokens generated by AWS IAM.
Rationale
IAM Database Authentication provides several security and operational advantages over traditional password-based authentication. It enables centralized access management through AWS IAM, allowing the use of existing IAM users and roles for database access, consistent with other AWS resources. This approach eliminates the need to store, manage, or rotate database passwords. Instead, authentication relies on short-lived IAM-generated tokens, significantly reducing the risk of credential compromise associated with long-lived credentials. Additionally, database connections are encrypted using SSL/TLS by default when IAM authentication is enabled.
Audit
This policy flags an AWS RDS Cluster as
INCOMPLIANTif the IAM Database Authentication Enabled field is set to false.... see more
Remediation
Remediation
Enable IAM Database Authentication
To enable IAM Database Authentication for an existing AWS RDS Aurora cluster, update the cluster configuration to allow authentication using IAM-generated tokens.
From Command Line
Run the following command to enable IAM database authentication for the specified DB cluster:
aws rds modify-db-cluster \
--db-cluster-identifier {{cluster-id}} \
--enable-iam-database-authentication \
--apply-immediatelyBy default, configuration changes are applied during the next scheduled maintenance window. Using the
--apply-immediatelyparameter forces the change to take effect as soon as possible, which may cause a brief service interruption depending on the cluster configuration.