CREATE STORAGE VAULT IF NOT EXISTS s3_vault
PROPERTIES (
"type"="S3",
"s3.endpoint"="127.0.0.1:9000",
"s3.access_key" = "ak",
"s3.secret_key" = "sk",
"s3.region" = "us-east-1",
"s3.root.path" = "ssb_sf1_p2_s3",
"s3.bucket" = "doris-build-1308700295",
"provider" = "S3"
);
但是我的S3 是Ceph S3,是https 的我在s3.endpoint 带上https ,启动时程序会自动拼接成http://https://xxxxx
在startrocks 上是如下配置实现
# 如 testbucket/subpath
aws_s3_path = bucketname/subpath
# 例如:http://172.26.xx.xxx:7480
aws_s3_endpoint = https://xxxxxxxx
aws_s3_access_key = <access_key>
aws_s3_secret_key = <secret_key>