func Command() cli.Command {
	return cli.Command{
		Name:      "admin",
		Usage:     "create and manage the certificate authority admins",
		UsageText: "**step beta ca admin** <subcommand> [arguments] [global-flags] [subcommand-flags]",
		Subcommands: cli.Commands{
			listCommand(),
			addCommand(),
			removeCommand(),
			updateCommand(),
		},
		Description: `**step ca admin** command group provides facilities for managing the
certificate authority admins.
An admin is an entity that manages administrative resources (like authority
configuration, provisioner configuration, and other admins) within a certificate
authority.
## EXAMPLES
List the active admins:
'''
$ step beta ca admin list
'''
Add an admin:
'''
$ step beta ca admin add max@smallstep.com my-jwk-provisioner --super
'''
Update an admin:
'''
$ step beta ca admin update max@smallstep.com --super=false
'''
Remove an admin:
'''
$ step beta ca admin remove max@smallstep.com
'''`,
	}
}
Command returns the jwk subcommand.
package admin
import (
	"errors"
	"fmt"
	"github.com/smallstep/certificates/ca"
	"github.com/smallstep/cli/errs"
	"github.com/smallstep/cli/ui"
	"github.com/urfave/cli"
	"go.step.sm/linkedca"
)