{"action":"opened","issue":{"url":"https://api.github.com/repos/floragunncom/search-guard/issues/54","labels_url":"https://api.github.com/repos/floragunncom/search-guard/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/floragunncom/search-guard/issues/54/comments","events_url":"https://api.github.com/repos/floragunncom/search-guard/issues/54/events","html_url":"https://github.com/floragunncom/search-guard/issues/54","id":106384749,"number":54,"title":"pre-generate node key","user":{"login":"bilsch","id":1809788,"avatar_url":"https://avatars.githubusercontent.com/u/1809788?v=3","gravatar_id":"","url":"https://api.github.com/users/bilsch","html_url":"https://github.com/bilsch","followers_url":"https://api.github.com/users/bilsch/followers","following_url":"https://api.github.com/users/bilsch/following{/other_user}","gists_url":"https://api.github.com/users/bilsch/gists{/gist_id}","starred_url":"https://api.github.com/users/bilsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilsch/subscriptions","organizations_url":"https://api.github.com/users/bilsch/orgs","repos_url":"https://api.github.com/users/bilsch/repos","events_url":"https://api.github.com/users/bilsch/events{/privacy}","received_events_url":"https://api.github.com/users/bilsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T16:53:17Z","updated_at":"2015-09-14T16:53:17Z","closed_at":null,"body":"Is it possible to pre-generate the node key in some way?\r\n\r\nhttps://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/service/SearchGuardService.java#L130-L153\r\n\r\nIt would be handy in cases of doing something like puppet/chef to manage search-guard/elasticsearch setups rather than having to bring up an instance to get a key and then drop that in to puppet for population on the nodes.\r\n\r\nLooking at the code I may be able to write up a bit of ruby code to generate the key. Maybe a java class which calls the same bit of java code to avoid duplication if the key format changes?"}}