Skip to main content

Aliyun OSS

This document describes the parameters required to access Aliyun OSS, which apply to the following scenarios:

  • Catalog properties
  • Table Valued Function properties
  • Broker Load properties
  • Export properties
  • Outfile properties

Doris uses S3 Client to access Aliyun OSS through S3-compatible protocol.

Parameter Overview

Property NameDescriptionDefault ValueRequired
s3.endpointOSS endpoint, specifies the access endpoint for Aliyun OSS. Note that OSS and OSS HDFS endpoints are different.Yes
s3.regionOSS region, specifies the region for Aliyun OSSNo
s3.access_keyOSS access key, the OSS access key used for authenticationYes
s3.secret_keyOSS secret key, the access key used in conjunction with access keyYes

Example Configuration

"s3.access_key" = "ak",
"s3.secret_key" = "sk",
"s3.endpoint" = "oss-cn-beijing.aliyuncs.com",
"s3.region" = "cn-beijing"