pub struct DestinationConfig {Show 15 fields
pub destination_type: DestinationType,
pub bucket: Option<String>,
pub prefix: Option<String>,
pub path: Option<String>,
pub region: Option<String>,
pub endpoint: Option<String>,
pub credentials_file: Option<String>,
pub access_key_env: Option<String>,
pub secret_key_env: Option<String>,
pub session_token_env: Option<String>,
pub aws_profile: Option<String>,
pub account_name: Option<String>,
pub account_key_env: Option<String>,
pub sas_token_env: Option<String>,
pub allow_anonymous: bool,
}Fields§
§destination_type: DestinationType§bucket: Option<String>§prefix: Option<String>§path: Option<String>§region: Option<String>§endpoint: Option<String>§credentials_file: Option<String>§access_key_env: Option<String>§secret_key_env: Option<String>§session_token_env: Option<String>Name of an env var holding an AWS STS session token, for use with
short-lived credentials issued by AWS IAM Identity Center / SSO,
aws sts assume-role, MFA-protected sessions, EKS IAM Roles for
Service Accounts, etc. Pair with access_key_env + secret_key_env.
See docs/cloud-auth.md for the AWS auth-flow matrix.
aws_profile: Option<String>§account_name: Option<String>Azure storage account name (the prefix in <account>.blob.core.windows.net).
Plain string — not a secret. Pair with account_key_env.
See docs/cloud-auth.md for the Azure auth-flow matrix.
account_key_env: Option<String>Name of an env var holding the Azure Storage account key. Treated as
a credential and wiped from heap on drop — same SecOps treatment as
access_key_env. Pair with account_name. Mutually exclusive with
sas_token_env.
sas_token_env: Option<String>Name of an env var holding an Azure Storage SAS token — typically
a short-lived, scope-limited credential issued out-of-band (Azure
portal / az storage container generate-sas / Azure SDK). Use this
instead of account_key_env when the operator does not have the
long-lived account key or wants per-job scoped access. Pair with
account_name. Mutually exclusive with account_key_env.
The token value is wiped from heap on drop via the same
Zeroizing<String> wrapper as account_key_env. Leading ? is
trimmed transparently so the operator can paste either the full
?sv=…&sig=… query string or the raw token body.
allow_anonymous: boolTrait Implementations§
Source§impl Clone for DestinationConfig
impl Clone for DestinationConfig
Source§fn clone(&self) -> DestinationConfig
fn clone(&self) -> DestinationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DestinationConfig
impl Debug for DestinationConfig
Source§impl Default for DestinationConfig
impl Default for DestinationConfig
Source§fn default() -> DestinationConfig
fn default() -> DestinationConfig
Source§impl<'de> Deserialize<'de> for DestinationConfig
impl<'de> Deserialize<'de> for DestinationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for DestinationConfig
impl JsonSchema for DestinationConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more