Struct reqsign::AliyunConfig
source · pub struct AliyunConfig {
pub access_key_id: Option<String>,
pub access_key_secret: Option<String>,
pub security_token: Option<String>,
pub role_arn: Option<String>,
pub role_session_name: String,
pub oidc_provider_arn: Option<String>,
pub oidc_token_file: Option<String>,
}
Expand description
Config carries all the configuration for Aliyun services.
Fields§
§access_key_id: Option<String>
access_key_id
will be loaded from
- this field if it’s
is_some
- env value: [
ALIBABA_CLOUD_ACCESS_KEY_ID
]
access_key_secret: Option<String>
access_key_secret
will be loaded from
- this field if it’s
is_some
- env value: [
ALIBABA_CLOUD_ACCESS_KEY_SECRET
]
security_token: Option<String>
security_token
will be loaded from
- this field if it’s
is_some
role_arn: Option<String>
role_arn
will be loaded from
- this field if it’s
is_some
- env value: [
ALIBABA_CLOUD_ROLE_ARN
]
role_session_name: String
role_session_name
will be loaded from
- default to
resign
oidc_provider_arn: Option<String>
oidc_provider_arn
will be loaded from
- this field if it’s
is_some
- env value: [
ALIBABA_CLOUD_OIDC_PROVIDER_ARN
]
oidc_token_file: Option<String>
oidc_token_file
will be loaded from
- this field if it’s
is_some
- env value: [
ALIBABA_CLOUD_OIDC_TOKEN_FILE
]