pub enum ObjectStorageAuthentication<'a> {
S3Static {
access_key_id: &'a SecretMaterial,
secret_access_key: &'a SecretMaterial,
},
AwsWorkloadIdentity {
source: AwsWorkloadIdentitySource,
},
AzureManagedIdentity {
client_id: Option<Uuid>,
},
AzureServicePrincipal {
tenant_id: Uuid,
client_id: Uuid,
client_secret: &'a SecretMaterial,
},
}Expand description
Connection-scoped storage authentication. Secret material has no formatting or serialization authority and is consumed only while constructing a DuckDB temporary secret.
Variants§
S3Static
AwsWorkloadIdentity
Fields
§
source: AwsWorkloadIdentitySourceAzureManagedIdentity
AzureServicePrincipal
Trait Implementations§
Source§impl<'a> Clone for ObjectStorageAuthentication<'a>
impl<'a> Clone for ObjectStorageAuthentication<'a>
Source§fn clone(&self) -> ObjectStorageAuthentication<'a>
fn clone(&self) -> ObjectStorageAuthentication<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectStorageAuthentication<'_>
impl Debug for ObjectStorageAuthentication<'_>
impl<'a> Copy for ObjectStorageAuthentication<'a>
Auto Trait Implementations§
impl<'a> Freeze for ObjectStorageAuthentication<'a>
impl<'a> RefUnwindSafe for ObjectStorageAuthentication<'a>
impl<'a> Send for ObjectStorageAuthentication<'a>
impl<'a> Sync for ObjectStorageAuthentication<'a>
impl<'a> Unpin for ObjectStorageAuthentication<'a>
impl<'a> UnsafeUnpin for ObjectStorageAuthentication<'a>
impl<'a> UnwindSafe for ObjectStorageAuthentication<'a>
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
Mutably borrows from an owned value. Read more