pub enum KmsProviders {
Local {
key: String,
},
Aws {
access_key_id: String,
secret_access_key: String,
region: String,
},
Azure {
tenant_id: String,
client_id: String,
client_secret: String,
},
Gcp {
email: String,
private_key: String,
},
}Expand description
KMS provider configuration.
Variants§
Trait Implementations§
Source§impl Clone for KmsProviders
impl Clone for KmsProviders
Source§fn clone(&self) -> KmsProviders
fn clone(&self) -> KmsProviders
Returns a duplicate 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 moreSource§impl Debug for KmsProviders
impl Debug for KmsProviders
Source§impl<'de> Deserialize<'de> for KmsProviders
impl<'de> Deserialize<'de> for KmsProviders
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 PartialEq for KmsProviders
impl PartialEq for KmsProviders
Source§impl Serialize for KmsProviders
impl Serialize for KmsProviders
impl StructuralPartialEq for KmsProviders
Auto Trait Implementations§
impl Freeze for KmsProviders
impl RefUnwindSafe for KmsProviders
impl Send for KmsProviders
impl Sync for KmsProviders
impl Unpin for KmsProviders
impl UnwindSafe for KmsProviders
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