code: func ParseShortcut(in string) (string, error) {
  	if in == "" {
  		return "", trace.BadParameter("missing resource name")
  	}
  	switch strings.ToLower(in) {
  	case "role", "roles":
  		return KindRole, nil
  	case "namespaces", "ns":
  		return KindNamespace, nil
  	case "auth_servers", "auth":
  		return KindAuthServer, nil
  	case "proxies":
  		return KindProxy, nil
  	case "nodes", "node":
  		return KindNode, nil
  	case "oidc":
  		return KindOIDCConnector, nil
  	case "saml":
  		return KindSAMLConnector, nil
  	case "github":
  		return KindGithubConnector, nil
  	case "connectors", "connector":
  		return KindConnectors, nil
  	case "user", "users":
  		return KindUser, nil
  	case "cert_authorities", "cas":
  		return KindCertAuthority, nil
  	case "reverse_tunnels", "rts":
  		return KindReverseTunnel, nil
  	case "trusted_cluster", "tc", "cluster", "clusters":
  		return KindTrustedCluster, nil
  	case "cluster_authentication_preferences", "cap":
  		return KindClusterAuthPreference, nil
  	case "remote_cluster", "remote_clusters", "rc", "rcs":
  		return KindRemoteCluster, nil
  	}
  	return "", trace.BadParameter("unsupported resource: %v", in)
  }
docs: // ParseShortcut parses resource shortcut