Enum AzureConfigKey
#[non_exhaustive]pub enum AzureConfigKey {
Show 23 variants
AccountName,
AccessKey,
ClientId,
ClientSecret,
AuthorityId,
SasKey,
Token,
UseEmulator,
Endpoint,
UseFabricEndpoint,
MsiEndpoint,
ObjectId,
MsiResourceId,
FederatedTokenFile,
UseAzureCli,
SkipSignature,
ContainerName,
DisableTagging,
FabricTokenServiceUrl,
FabricWorkloadHost,
FabricSessionToken,
FabricClusterIdentifier,
Client(ClientConfigKey),
}
azure
only.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
FabricTokenServiceUrl
Fabric token service url
Supported keys:
azure_fabric_token_service_url
fabric_token_service_url
FabricWorkloadHost
Fabric workload host
Supported keys:
azure_fabric_workload_host
fabric_workload_host
FabricSessionToken
Fabric session token
Supported keys:
azure_fabric_session_token
fabric_session_token
FabricClusterIdentifier
Fabric cluster identifier
Supported keys:
azure_fabric_cluster_identifier
fabric_cluster_identifier
Client(ClientConfigKey)
Client options
Trait Implementations§
§impl AsRef<str> for AzureConfigKey
impl AsRef<str> for AzureConfigKey
§impl Clone for AzureConfigKey
impl Clone for AzureConfigKey
§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 more§impl Debug for AzureConfigKey
impl Debug for AzureConfigKey
§impl<'de> Deserialize<'de> for AzureConfigKey
impl<'de> Deserialize<'de> for AzureConfigKey
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AzureConfigKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AzureConfigKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl FromStr for AzureConfigKey
impl FromStr for AzureConfigKey
§impl Hash for AzureConfigKey
impl Hash for AzureConfigKey
§impl PartialEq for AzureConfigKey
impl PartialEq for AzureConfigKey
§impl Serialize for AzureConfigKey
impl Serialize for AzureConfigKey
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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