pub enum CredentialRef {
DefaultChain,
Profile(String),
Environment {
access_key: String,
secret_key: String,
},
Provider(String),
}Expand description
Reference to credentials without storing secret values.
Variants§
DefaultChain
Use the provider’s default credential chain.
Profile(String)
Use a named credential profile.
Environment
Read credentials from named environment variables.
Fields
Provider(String)
Use an external credential provider id.
Trait Implementations§
Source§impl Clone for CredentialRef
impl Clone for CredentialRef
Source§fn clone(&self) -> CredentialRef
fn clone(&self) -> CredentialRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CredentialRef
impl Debug for CredentialRef
Source§impl PartialEq for CredentialRef
impl PartialEq for CredentialRef
Source§fn eq(&self, other: &CredentialRef) -> bool
fn eq(&self, other: &CredentialRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CredentialRef
impl StructuralPartialEq for CredentialRef
Auto Trait Implementations§
impl Freeze for CredentialRef
impl RefUnwindSafe for CredentialRef
impl Send for CredentialRef
impl Sync for CredentialRef
impl Unpin for CredentialRef
impl UnsafeUnpin for CredentialRef
impl UnwindSafe for CredentialRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.