IAM database auth not enabled 이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다. Id: cloudformation-aws-iam-database-auth-not-enabled
Provider: AWS
Platform: CloudFormation
Severity: Medium
Category: Encryption
Learn More Description Amazon RDS instances should have IAM database authentication enabled for engines and versions that support it to avoid embedding long‑lived database credentials in application code or configuration and to enable centralized credential management and rotation.
For CloudFormation, the EnableIAMDatabaseAuthentication property on AWS::RDS::DBInstance must be defined and set to true when the template’s Engine, EngineVersion, and DBInstanceClass indicate IAM authentication compatibility. Resources missing EnableIAMDatabaseAuthentication or with EnableIAMDatabaseAuthentication set to false will be flagged.
Secure configuration example:
MyDBInstance :
Type : AWS::RDS::DBInstance
Properties :
Engine : mysql
EngineVersion : "8.0"
DBInstanceClass : db.t3.medium
EnableIAMDatabaseAuthentication : true
Compliant Code Examples AWSTemplateFormatVersion : 2010-09-09
Description : RDS Storage Encrypted
Parameters :
SourceDBInstanceIdentifier :
Type : String
DBInstanceType :
Type : String
SourceRegion :
Type : String
Resources :
MyDBSmall :
Type : "AWS::RDS::DBInstance"
Properties :
DBInstanceClass : !Ref DBInstanceType
SourceDBInstanceIdentifier : !Ref SourceDBInstanceIdentifier
SourceRegion : !Ref SourceRegion
DeletionProtection : false
KmsKeyId : !Ref MyKey
EnableIAMDatabaseAuthentication : true
AWSTemplateFormatVersion : 2010-09-09
Description : RDS Storage Encrypted
Parameters :
SourceDBInstanceIdentifier :
Type : String
DBInstanceType :
Type : String
SourceRegion :
Type : String
Resources :
MyDBSmall :
Type : "AWS::RDS::DBInstance"
Properties :
DBInstanceClass : db.t2.small
SourceDBInstanceIdentifier : !Ref SourceDBInstanceIdentifier
SourceRegion : !Ref SourceRegion
DeletionProtection : false
KmsKeyId : !Ref MyKey
EnableIAMDatabaseAuthentication : false
Engine : aurora
AWSTemplateFormatVersion : 2010-09-09
Description : RDS Storage Encrypted
Parameters :
SourceDBInstanceIdentifier :
Type : String
DBInstanceType :
Type : String
SourceRegion :
Type : String
Resources :
MyDBSmall :
Type : "AWS::RDS::DBInstance"
Properties :
DBInstanceClass : db.t2.small
SourceDBInstanceIdentifier : !Ref SourceDBInstanceIdentifier
SourceRegion : !Ref SourceRegion
DeletionProtection : false
KmsKeyId : !Ref MyKey
EnableIAMDatabaseAuthentication : false
Engine : mariadb
EngineVersion : 10.2.43
Non-Compliant Code Examples AWSTemplateFormatVersion : 2010-09-09
Description : RDS Storage Encrypted
Parameters :
SourceDBInstanceIdentifier :
Type : String
DBInstanceType :
Type : String
SourceRegion :
Type : String
Resources :
MyDBSmall :
Type : "AWS::RDS::DBInstance"
Properties :
DBInstanceClass : db.r3.xlarge
SourceDBInstanceIdentifier : !Ref SourceDBInstanceIdentifier
SourceRegion : !Ref SourceRegion
DeletionProtection : false
KmsKeyId : !Ref MyKey
EnableIAMDatabaseAuthentication : false
Engine : aurora
AWSTemplateFormatVersion : 2010-09-09
Description : RDS Storage Encrypted
Parameters :
SourceDBInstanceIdentifier :
Type : String
DBInstanceType :
Type : String
SourceRegion :
Type : String
Resources :
MyDBSmall :
Type : "AWS::RDS::DBInstance"
Properties :
DBInstanceClass : db.r3.xlarge
SourceDBInstanceIdentifier : !Ref SourceDBInstanceIdentifier
SourceRegion : !Ref SourceRegion
DeletionProtection : false
KmsKeyId : !Ref MyKey
Engine : mysql