Trait aws_secrets::SSMParamExt
source · [−]pub trait SSMParamExt {
fn get_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_secure_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_string_list<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Trait for str
types, enables interaction with AWS SSM Parameter Store.
Required Methods
Retrieves a parameter (with data type String
) from SSM Parameter Store.
Retrieves a parameter (with data type SecureString
) from SSM Parameter Store.