-
Hello, in same service mesh we have deployed a python service which is connecting with etcd using etcd3 client. but while trying to read etcd i am getting this error { so if TLS and client authentication are disabled. why etcd is expecting to pass username and password. this is the code snippet i am using Please help. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @aru88 - Thanks for your question. Is basic username and password auth enabled for your etcd instance? Refer to: https://etcd.io/docs/v3.5/op-guide/authentication/rbac/#enabling-authentication Please provide your full etcd configuration file or parameters (redacted if neccessary) so we can answer more concretely. |
Beta Was this translation helpful? Give feedback.
Does your cluster currently have auth enabled? Refer to https://etcd.io/docs/v3.5/op-guide/authentication/rbac/#enabling-authentication
If basic authentication is currently enabled in your cluster to connect without needing to pass the username and password you would need to connect as an authenticated user and run for example
etcdctcl --user user:password auth disable
to disable authentication.