code: func getKeyType(ctx *cli.Context) certcrypto.KeyType {
  	keyType := ctx.GlobalString("key-type")
  	switch strings.ToUpper(keyType) {
  	case "RSA2048":
  		return certcrypto.RSA2048
  	case "RSA4096":
  		return certcrypto.RSA4096
  	case "RSA8192":
  		return certcrypto.RSA8192
  	case "EC256":
  		return certcrypto.EC256
  	case "EC384":
  		return certcrypto.EC384
  	}
  
  	log.Fatalf("Unsupported KeyType: %s", keyType)
  	return ""
  }
docs: // getKeyType the type from which private keys should be generated