Function generate_data_key

Source
pub fn generate_data_key(
    key_id: &str,
    key_spec: Option<String>,
    bytes: Option<i64>,
) -> Value
Expand description

Generates a unique symmetric data key for client-side encryption. This operation returns a plaintext copy of the data key and a copy that is encrypted under a customer master key (CMK) that you specify.