get etcd key ttl from config