tzssangglass commented on issue #4143: URL: https://github.com/apache/apisix/issues/4143#issuecomment-828264983
I verified that it work. my command ```shell etcdctl --endpoints=http://127.0.0.1:2379 user add apisix etcdctl --endpoints=http://127.0.0.1:2379 role add apisix etcdctl --endpoints=http://127.0.0.1:2379 user grant-role apisix apisix etcdctl --endpoints=http://127.0.0.1:2379 role grant-permission apisix --prefix=true readwrite /apisix ``` my config.yaml ```yaml etcd: host: - "http://127.0.0.1:2379" prefix: "/apisix" user: apisix password: abc123 ``` the etcdctl command and return is ```shell etcdctl --user="apisix" --password="abc123" --endpoints=http://127.0.0.1:2379 role get apisix Role apisix KV Read: [/apisix, /apisiy) (prefix /apisix) KV Write: [/apisix, /apisiy) (prefix /apisix) ``` how does this help you? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
