pub fn migrate_plaintext_to_encrypted() -> Result<usize>
Migrate plaintext credentials to encrypted storage Returns the number of credentials migrated