{"action":"created","issue":{"url":"https://api.github.com/repos/docker/libkv/issues/98","labels_url":"https://api.github.com/repos/docker/libkv/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/docker/libkv/issues/98/comments","events_url":"https://api.github.com/repos/docker/libkv/issues/98/events","html_url":"https://github.com/docker/libkv/issues/98","id":122302511,"number":98,"title":"Support for tokens","user":{"login":"vipconsult","id":8903888,"avatar_url":"https://avatars.githubusercontent.com/u/8903888?v=3","gravatar_id":"","url":"https://api.github.com/users/vipconsult","html_url":"https://github.com/vipconsult","followers_url":"https://api.github.com/users/vipconsult/followers","following_url":"https://api.github.com/users/vipconsult/following{/other_user}","gists_url":"https://api.github.com/users/vipconsult/gists{/gist_id}","starred_url":"https://api.github.com/users/vipconsult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipconsult/subscriptions","organizations_url":"https://api.github.com/users/vipconsult/orgs","repos_url":"https://api.github.com/users/vipconsult/repos","events_url":"https://api.github.com/users/vipconsult/events{/privacy}","received_events_url":"https://api.github.com/users/vipconsult/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T15:53:13Z","updated_at":"2015-12-15T16:46:24Z","closed_at":null,"body":"I have consul installed on a public ip so I have bootstrapped with a ACL master token.\r\n\r\nIs there any way I can make the docker daemon to use a master token  or is there any other way to secure the consul server and the docker client setup ?"},"comment":{"url":"https://api.github.com/repos/docker/libkv/issues/comments/164823332","html_url":"https://github.com/docker/libkv/issues/98#issuecomment-164823332","issue_url":"https://api.github.com/repos/docker/libkv/issues/98","id":164823332,"user":{"login":"abronan","id":1655859,"avatar_url":"https://avatars.githubusercontent.com/u/1655859?v=3","gravatar_id":"","url":"https://api.github.com/users/abronan","html_url":"https://github.com/abronan","followers_url":"https://api.github.com/users/abronan/followers","following_url":"https://api.github.com/users/abronan/following{/other_user}","gists_url":"https://api.github.com/users/abronan/gists{/gist_id}","starred_url":"https://api.github.com/users/abronan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abronan/subscriptions","organizations_url":"https://api.github.com/users/abronan/orgs","repos_url":"https://api.github.com/users/abronan/repos","events_url":"https://api.github.com/users/abronan/events{/privacy}","received_events_url":"https://api.github.com/users/abronan/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T16:46:24Z","updated_at":"2015-12-15T16:46:24Z","body":"Hi @vipconsult,\r\n\r\nYou can secure communications with the Consul server using TLS (see the command line reference for the [docker daemon](https://docs.docker.com/engine/reference/commandline/daemon/), section **Node discovery** for the set of flags to use). You need to generate the certs though.\r\n\r\nConcerning ACLs, see: docker/swarm#1434. In short, dependencies needs to be updated to the latest Consul version in order to support ACL tokens. Eventually this will be supported by Docker too."}}