[Issue 10217] autoca should support more key types