跳转至

etcdctl role grant-permission

help

$  etcdctl role grant-permission --help
NAME:
        role grant-permission - Grants a key to a role

USAGE:
        etcdctl role grant-permission [options] <role name> <permission type> <key> [endkey] [flags]

OPTIONS:
      --from-key[=false]        grant a permission of keys that are greater than or equal to the given key using byte compare
  -h, --help[=false]            help for grant-permission
      --prefix[=false]          grant a prefix permission