pub enum CredentialsSource {
Env,
Iam,
}Expand description
Where the identity’s long-term secret lives.
Variants§
Env
Provisioned from the server process environment; immutable at runtime.
Iam
Stored in the IAM object store; mutable through the admin API.
Trait Implementations§
Source§impl Clone for CredentialsSource
impl Clone for CredentialsSource
Source§fn clone(&self) -> CredentialsSource
fn clone(&self) -> CredentialsSource
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 moreimpl Copy for CredentialsSource
Source§impl Debug for CredentialsSource
impl Debug for CredentialsSource
Source§impl<'de> Deserialize<'de> for CredentialsSource
impl<'de> Deserialize<'de> for CredentialsSource
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CredentialsSource
impl Display for CredentialsSource
impl Eq for CredentialsSource
Source§impl PartialEq for CredentialsSource
impl PartialEq for CredentialsSource
Source§impl Serialize for CredentialsSource
impl Serialize for CredentialsSource
impl StructuralPartialEq for CredentialsSource
Auto Trait Implementations§
impl Freeze for CredentialsSource
impl RefUnwindSafe for CredentialsSource
impl Send for CredentialsSource
impl Sync for CredentialsSource
impl Unpin for CredentialsSource
impl UnsafeUnpin for CredentialsSource
impl UnwindSafe for CredentialsSource
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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