cipherstash_client::config::zero_kms_config

Type Alias ZeroKMSConfigWithClientKey

pub type ZeroKMSConfigWithClientKey = ZeroKMSConfig<ClientKey>;

Aliased Type§

struct ZeroKMSConfigWithClientKey { /* private fields */ }

Implementations§

§

impl ZeroKMSConfigWithClientKey

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>

Create a new ZeroKMS client instance that can be used for encryption and decryption.