Enum object_store::azure::AzureConfigKey
source · #[non_exhaustive]pub enum AzureConfigKey {
Show 19 variants
AccountName,
AccessKey,
ClientId,
ClientSecret,
AuthorityId,
SasKey,
Token,
UseEmulator,
Endpoint,
UseFabricEndpoint,
MsiEndpoint,
ObjectId,
MsiResourceId,
FederatedTokenFile,
UseAzureCli,
SkipSignature,
ContainerName,
DisableTagging,
Client(ClientConfigKey),
}
Expand description
Configuration keys for MicrosoftAzureBuilder
Configuration via keys can be done via MicrosoftAzureBuilder::with_config
§Example
let builder = MicrosoftAzureBuilder::new()
.with_config("azure_client_id".parse().unwrap(), "my-client-id")
.with_config(AzureConfigKey::AuthorityId, "my-tenant-id");
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccountName
The name of the azure storage account
Supported keys:
azure_storage_account_name
account_name
AccessKey
Master key for accessing storage account
Supported keys:
azure_storage_account_key
azure_storage_access_key
azure_storage_master_key
access_key
account_key
master_key
ClientId
Service principal client id for authorizing requests
Supported keys:
azure_storage_client_id
azure_client_id
client_id
ClientSecret
Service principal client secret for authorizing requests
Supported keys:
azure_storage_client_secret
azure_client_secret
client_secret
AuthorityId
Tenant id used in oauth flows
Supported keys:
azure_storage_tenant_id
azure_storage_authority_id
azure_tenant_id
azure_authority_id
tenant_id
authority_id
SasKey
Shared access signature.
The signature is expected to be percent-encoded, much like they are provided in the azure storage explorer or azure portal.
Supported keys:
azure_storage_sas_key
azure_storage_sas_token
sas_key
sas_token
Token
Bearer token
Supported keys:
azure_storage_token
bearer_token
token
UseEmulator
Use object store with azurite storage emulator
Supported keys:
azure_storage_use_emulator
object_store_use_emulator
use_emulator
Endpoint
Override the endpoint used to communicate with blob storage
Supported keys:
azure_storage_endpoint
azure_endpoint
endpoint
UseFabricEndpoint
Use object store with url scheme account.dfs.fabric.microsoft.com
Supported keys:
azure_use_fabric_endpoint
use_fabric_endpoint
MsiEndpoint
Endpoint to request a imds managed identity token
Supported keys:
azure_msi_endpoint
azure_identity_endpoint
identity_endpoint
msi_endpoint
ObjectId
Object id for use with managed identity authentication
Supported keys:
azure_object_id
object_id
MsiResourceId
Msi resource id for use with managed identity authentication
Supported keys:
azure_msi_resource_id
msi_resource_id
FederatedTokenFile
File containing token for Azure AD workload identity federation
Supported keys:
azure_federated_token_file
federated_token_file
UseAzureCli
Use azure cli for acquiring access token
Supported keys:
azure_use_azure_cli
use_azure_cli
SkipSignature
Skip signing requests
Supported keys:
azure_skip_signature
skip_signature
ContainerName
Container name
Supported keys:
azure_container_name
container_name
DisableTagging
Disables tagging objects
This can be desirable if not supported by the backing store
Supported keys:
azure_disable_tagging
disable_tagging
Client(ClientConfigKey)
Client options
Trait Implementations§
source§impl AsRef<str> for AzureConfigKey
impl AsRef<str> for AzureConfigKey
source§impl Clone for AzureConfigKey
impl Clone for AzureConfigKey
source§fn clone(&self) -> AzureConfigKey
fn clone(&self) -> AzureConfigKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AzureConfigKey
impl Debug for AzureConfigKey
source§impl<'de> Deserialize<'de> for AzureConfigKey
impl<'de> Deserialize<'de> for AzureConfigKey
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 FromStr for AzureConfigKey
impl FromStr for AzureConfigKey
source§impl Hash for AzureConfigKey
impl Hash for AzureConfigKey
source§impl PartialEq for AzureConfigKey
impl PartialEq for AzureConfigKey
source§fn eq(&self, other: &AzureConfigKey) -> bool
fn eq(&self, other: &AzureConfigKey) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AzureConfigKey
impl Serialize for AzureConfigKey
impl Copy for AzureConfigKey
impl Eq for AzureConfigKey
impl StructuralPartialEq for AzureConfigKey
Auto Trait Implementations§
impl Freeze for AzureConfigKey
impl RefUnwindSafe for AzureConfigKey
impl Send for AzureConfigKey
impl Sync for AzureConfigKey
impl Unpin for AzureConfigKey
impl UnwindSafe for AzureConfigKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more