[][src]Function kms_rs::generate_data_key

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

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.