diff --git a/moto/rds2/models.py b/moto/rds2/models.py index 5cb05ebeb..37ecbf873 100644 --- a/moto/rds2/models.py +++ b/moto/rds2/models.py @@ -135,7 +135,7 @@ class Database(object): "engine": properties.get("Engine"), "engine_version": properties.get("EngineVersion"), "iops": properties.get("Iops"), - "master_password": properties.get('MasterUserPassword'), + "master_user_password": properties.get('MasterUserPassword'), "master_username": properties.get('MasterUsername'), "multi_az": properties.get("MultiAZ"), "port": properties.get('Port', 3306), diff --git a/moto/rds2/responses.py b/moto/rds2/responses.py index daa068aa6..bd51f6ea0 100644 --- a/moto/rds2/responses.py +++ b/moto/rds2/responses.py @@ -27,7 +27,7 @@ class RDS2Response(BaseResponse): "engine": self._get_param("Engine"), "engine_version": self._get_param("EngineVersion"), "iops": self._get_int_param("Iops"), - "master_password": self._get_param('MasterUserPassword'), + "master_user_password": self._get_param('MasterUserPassword'), "master_username": self._get_param('MasterUsername'), "multi_az": self._get_bool_param("MultiAZ"), # OptionGroupName @@ -504,4 +504,4 @@ ADD_TAGS_TO_RESOURCE_TEMPLATE = \ REMOVE_TAGS_FROM_RESOURCE_TEMPLATE = \ """{"RemoveTagsFromResourceResponse": {"ResponseMetadata": {"RequestId": "c6499a01-a664-11e4-8069-fb454b71a80e"}}} - """ \ No newline at end of file + """