Function set_database_encryption_key

Source
pub async fn set_database_encryption_key(
    new_encryption_key: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain

ยงArguments

  • new_encryption_key - New encryption key
  • client_id - The client id to send the request to