chore: expose disable_ec2_metadata option (#7439)

chore: add option for disable ec2 metadata

Signed-off-by: shuiyisong <xixing.sys@gmail.com>
This commit is contained in:
shuiyisong
2025-12-18 19:55:08 +08:00
committed by GitHub
parent a85864067e
commit c088d361a4
6 changed files with 35 additions and 11 deletions

View File

@@ -255,6 +255,8 @@ wrap_with_clap_prefix! {
region: Option<String>,
#[doc = "Enable virtual host style for the object store."]
enable_virtual_host_style: bool = Default::default(),
#[doc = "Disable EC2 metadata service for the object store."]
disable_ec2_metadata: bool = Default::default(),
}
}