summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 163d257..ee5b70c 100644
--- a/README.rst
+++ b/README.rst
@@ -41,6 +41,8 @@ Create a client object
client = etcd.Client(port=4002)
client = etcd.Client(host='127.0.0.1', port=4003)
client = etcd.Client(host='127.0.0.1', port=4003, allow_redirect=False) # wont let you run sensitive commands on non-leader machines, default is true
+ # If you have defined a SRV record for _etcd._tcp.example.com pointing to the clients
+ client = etcd.Client(srv_domain='example.com', protocol="https")
# create a client against https://api.example.com:443/etcd
client = etcd.Client(host='api.example.com', protocol='https', port=443, version_prefix='/etcd')
Write a key