etcdctl user 命令

etcdctl user COMMAND [OPTIONS] [Arguments…] # 用户添加,授予和撤消子命令

SubCommand 包括

  • add # add a new user for the etcd cluster
  • get # get details for a user
  • list # list all current users
  • remove # remove a user for the etcd cluster
  • grant # grant roles to an etcd user
  • revoke # revoke roles for an etcd user
  • passwd # change password for a user

etcdctl user add USER # 为 etcd 集群添加用户