{"action":"created","issue":{"url":"https://api.github.com/repos/weavejester/ragtime/issues/60","labels_url":"https://api.github.com/repos/weavejester/ragtime/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/weavejester/ragtime/issues/60/comments","events_url":"https://api.github.com/repos/weavejester/ragtime/issues/60/events","html_url":"https://github.com/weavejester/ragtime/issues/60","id":56831777,"number":60,"title":"Difficult to securely set DB password","user":{"login":"tsmacdonald","id":784417,"avatar_url":"https://avatars.githubusercontent.com/u/784417?v=3","gravatar_id":"","url":"https://api.github.com/users/tsmacdonald","html_url":"https://github.com/tsmacdonald","followers_url":"https://api.github.com/users/tsmacdonald/followers","following_url":"https://api.github.com/users/tsmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/tsmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmacdonald/subscriptions","organizations_url":"https://api.github.com/users/tsmacdonald/orgs","repos_url":"https://api.github.com/users/tsmacdonald/repos","events_url":"https://api.github.com/users/tsmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/tsmacdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-06T16:15:27Z","updated_at":"2015-02-08T21:41:03Z","closed_at":null,"body":"Our database has a password, which for security reasons I don't want to store raw in `project.clj` or in an environment variable. What I really want is to be able to set the DB password with arbitrary Clojure code, but this is impossible in `project.clj` since most libraries are unavailable. I couldn't find documentation about how to accomplish this—is it possible?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/weavejester/ragtime/issues/comments/73433657","html_url":"https://github.com/weavejester/ragtime/issues/60#issuecomment-73433657","issue_url":"https://api.github.com/repos/weavejester/ragtime/issues/60","id":73433657,"user":{"login":"martintrojer","id":1161940,"avatar_url":"https://avatars.githubusercontent.com/u/1161940?v=3","gravatar_id":"","url":"https://api.github.com/users/martintrojer","html_url":"https://github.com/martintrojer","followers_url":"https://api.github.com/users/martintrojer/followers","following_url":"https://api.github.com/users/martintrojer/following{/other_user}","gists_url":"https://api.github.com/users/martintrojer/gists{/gist_id}","starred_url":"https://api.github.com/users/martintrojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martintrojer/subscriptions","organizations_url":"https://api.github.com/users/martintrojer/orgs","repos_url":"https://api.github.com/users/martintrojer/repos","events_url":"https://api.github.com/users/martintrojer/events{/privacy}","received_events_url":"https://api.github.com/users/martintrojer/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T21:41:03Z","updated_at":"2015-02-08T21:41:03Z","body":"Like micheal pointed out, this is been discussed in the joplin project.\r\n\r\nI have problem imagining how this would work with either ragtime/joplin.\r\n\r\nIf you use it as a library there is not problem, because you are in total control of your config. If you are using the lein plugins, like @weavejester says it can be solved with profile.clj. That sounds easier to me than some elaborate new cli commands and ragtime code that will go and hunt for that resource on the file system and/or class path."}}