code: func ConvertV1CertAuthority(v1 *CertAuthorityV1) (CertAuthority, Role) {
  	ca := v1.V2()
  	role := RoleForCertAuthority(ca)
  	role.SetLogins(Allow, v1.AllowedLogins)
  	ca.AddRole(role.GetName())
  	return ca, role
  }
docs: // ConvertV1CertAuthority converts V1 cert authority for new CA and Role