Struct ockam_vault_aws::AwsKmsConfig
source · pub struct AwsKmsConfig { /* private fields */ }
Expand description
AWS KMS configuration.
Implementations§
source§impl AwsKmsConfig
impl AwsKmsConfig
sourcepub async fn default() -> Result<AwsKmsConfig>
pub async fn default() -> Result<AwsKmsConfig>
Create a new configuration for the AWS KMS
sourcepub fn new(sdk_config: SdkConfig) -> AwsKmsConfig
pub fn new(sdk_config: SdkConfig) -> AwsKmsConfig
Create a new configuration for the AWS KMS
sourcepub fn multi_region(self, val: bool)
pub fn multi_region(self, val: bool)
Create multi-region keys.
sourcepub fn with_initial_keys_discovery(
self,
initial_keys_discovery: InitialKeysDiscovery
) -> Self
pub fn with_initial_keys_discovery( self, initial_keys_discovery: InitialKeysDiscovery ) -> Self
Configure initial key discovery
Trait Implementations§
source§impl Clone for AwsKmsConfig
impl Clone for AwsKmsConfig
source§fn clone(&self) -> AwsKmsConfig
fn clone(&self) -> AwsKmsConfig
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for AwsKmsConfig
impl Send for AwsKmsConfig
impl Sync for AwsKmsConfig
impl Unpin for AwsKmsConfig
impl !UnwindSafe for AwsKmsConfig
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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.