Type Alias ZeroKMSConfigWithClientKey
pub type ZeroKMSConfigWithClientKey = ZeroKMSConfig<ClientKey>;
Aliased Type§
struct ZeroKMSConfigWithClientKey { /* private fields */ }
Implementations§
§impl ZeroKMSConfigWithClientKey
impl ZeroKMSConfigWithClientKey
pub fn client_key(&self) -> ClientKey
pub fn client_key(&self) -> ClientKey
Return a copy of the ClientKey
used for generating and retrieving data keys.
pub fn create_client(&self) -> ZeroKMSWithClientKey<ServiceCredentials>
pub fn create_client(&self) -> ZeroKMSWithClientKey<ServiceCredentials>
Create a new ZeroKMS client instance that can be used for encryption and decryption.