pub async fn migrate_credential( out: &OutputConfig, profile_arg: Option<String>, ) -> Result<(), ApiError>