Struct tough_ssm::SsmKeySource
source · pub struct SsmKeySource {
pub profile: Option<String>,
pub parameter_name: String,
pub key_id: Option<String>,
}
Expand description
Implements the KeySource trait for keys that live in AWS SSM.
Fields§
§profile: Option<String>
§parameter_name: String
§key_id: Option<String>
Trait Implementations§
source§impl Debug for SsmKeySource
impl Debug for SsmKeySource
source§impl KeySource for SsmKeySource
impl KeySource for SsmKeySource
Implements the KeySource trait.
source§fn as_sign<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Sign>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn as_sign<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Sign>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns an object that implements the
Sign
traitsource§fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
value: &'life1 str,
key_id_hex: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
value: &'life1 str,
key_id_hex: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Writes a key back to the
KeySource
Auto Trait Implementations§
impl Freeze for SsmKeySource
impl RefUnwindSafe for SsmKeySource
impl Send for SsmKeySource
impl Sync for SsmKeySource
impl Unpin for SsmKeySource
impl UnwindSafe for SsmKeySource
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> 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>
Creates a shared type from an unshared type.