Struct reqsign::AzureStorageConfig
source · pub struct AzureStorageConfig {
pub account_name: Option<String>,
pub account_key: Option<String>,
pub sas_token: Option<String>,
pub object_id: Option<String>,
pub client_id: Option<String>,
pub msi_res_id: Option<String>,
pub msi_secret: Option<String>,
pub endpoint: Option<String>,
}
Expand description
Config carries all the configuration for Azure Storage services.
Fields§
§account_name: Option<String>
account_name
will be loaded from
- this field if it’s
is_some
account_key: Option<String>
account_key
will be loaded from
- this field if it’s
is_some
sas_token: Option<String>
sas_token
will be loaded from
- this field if it’s
is_some
object_id: Option<String>
Specifies the object id associated with a user assigned managed service identity resource
The values of client_id and msi_res_id are discarded
This is part of use AAD(Azure Active Directory) authenticate on Azure VM
client_id: Option<String>
Specifies the application id (client id) associated with a user assigned managed service identity resource
The values of object_id and msi_res_id are discarded
This is part of use AAD(Azure Active Directory) authenticate on Azure VM
msi_res_id: Option<String>
Specifies the ARM resource id of the user assigned managed service identity resource
The values of object_id and client_id are discarded
This is part of use AAD(Azure Active Directory) authenticate on Azure VM
msi_secret: Option<String>
Specifies the header that should be used to retrieve the access token.
This header mitigates server-side request forgery (SSRF) attacks.
This is part of use AAD(Azure Active Directory) authenticate on Azure VM
endpoint: Option<String>
Specifies the endpoint from which the identity should be retrieved.
If not specified, the default endpoint of http://169.254.169.254/metadata/identity/oauth2/token
will be used.
This is part of use AAD(Azure Active Directory) authenticate on Azure VM