You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from etcd3 import Client
>>> client = Client(host='my_etcd_host',protocol='https', verify='/etc/ssl/certs/ca-certificates.crt', username='myuser', password='mypassword')
>>> client.version()
EtcdVersion(etcdserver='3.3.10', etcdcluster='3.3.0')
>>> client.put('foo', 'bar')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jsfrerot/code/python_envs/etcd_client/lib/python3.6/site-packages/etcd3/apis/kv.py", line 106, in put
return self.call_rpc(method, data=data)
File "/home/jsfrerot/code/python_envs/etcd_client/lib/python3.6/site-packages/etcd3/client.py", line 199, in call_rpc
self._raise_for_status(resp)
File "/home/jsfrerot/code/python_envs/etcd_client/lib/python3.6/site-packages/etcd3/client.py", line 148, in _raise_for_status
raise get_client_error(error, code, status, resp)
etcd3.errors.go_etcd_rpctypes_error.ErrUserEmpty: <ErrUserEmpty error:'etcdserver: user name is empty', code:3>
The text was updated successfully, but these errors were encountered:
Description
Authentication seems to be not working
What I Did
The text was updated successfully, but these errors were encountered: