Skip to main content
VeloDB Cloud 26.x is based on Apache Doris 4.x. See Version Mapping.

MinIO

Before creating a catalog or running a load or export job, ensure that the warehouse can reach the service endpoint and that its credentials have the required metadata and data permissions. For private endpoints or service-side credential files, coordinate connectivity and provisioning with VeloDB Cloud support.

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

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

VeloDB Cloud uses S3 Client to access MinIO through S3-compatible protocol.

Parameters​

Defaults below are source defaults for the provider-specific properties in VeloDB Core 26.1.3. They do not report the effective configuration of a running warehouse.

Property NameLegacy NameDescriptionDefault ValueRequired
minio.endpoints3.endpointMinIO endpoint, the access endpoint for MinIOYes
minio.access_keys3.access_keyMinIO access key, the MinIO access key used for authenticationYes
minio.secret_keys3.secret_keyMinIO secret key, the secret key used together with access keyYes
minio.connection.maximums3.connection.maximumS3 maximum connections, specifies the maximum number of connections established with MinIO service100No
minio.connection.request.timeouts3.connection.request.timeoutS3 request timeout, in milliseconds, specifies the request timeout when connecting to MinIO service10000No
minio.connection.timeouts3.connection.timeoutS3 connection timeout, in milliseconds, specifies the timeout when establishing connection with MinIO service10000No
minio.use_path_styles3.use_path_styleWhether to use path-style access. Recommended to set to true for compatibility with MinIO and other non-AWS S3 servicesFALSENo

Use path-style access​

MinIO uses Host-style access by default, but also supports Path-style access. You can switch by setting the minio.use_path_style parameter.

  • Host-style access (default): https://bucket.minio.example.com
  • Path-style access (when enabled): https://minio.example.com/bucket

Example configuration​

"minio.access_key" = "your-access-key",
"minio.secret_key" = "your-secret-key",
"minio.endpoint" = "https://<minio-host>"

Legacy S3-compatible aliases:

"s3.access_key" = "your-access-key",
"s3.secret_key" = "your-secret-key",
"s3.endpoint" = "https://<minio-host>"

Usage recommendations​

  • It is recommended to use the minio. prefix for configuration parameters to ensure consistency and clarity with MinIO.
  • For compatibility with Apache Doris before 3.1, please use the legacy name s3. as the prefix.
  • Connection pool parameters can be adjusted according to concurrency requirements to avoid connection blocking.

Common errors​

For access-denied errors, check the identity and its permissions for both metadata and data. For timeouts, verify the service endpoint and network path from the warehouse. For errors involving a keytab, CA certificate, Hadoop XML file, or JDBC driver, contact VeloDB Cloud support with the error text and the operation that failed.