{"action":"created","issue":{"url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/39","repository_url":"https://api.github.com/repos/googlegenomics/dockerflow","labels_url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/39/comments","events_url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/39/events","html_url":"https://github.com/googlegenomics/dockerflow/issues/39","id":252112612,"number":39,"title":"Dockerflow not honoring GOOGLE_APPLICATON_CREDENTIALS  env. variable","user":{"login":"vangalamaheshh","id":752751,"avatar_url":"https://avatars1.githubusercontent.com/u/752751?v=4","gravatar_id":"","url":"https://api.github.com/users/vangalamaheshh","html_url":"https://github.com/vangalamaheshh","followers_url":"https://api.github.com/users/vangalamaheshh/followers","following_url":"https://api.github.com/users/vangalamaheshh/following{/other_user}","gists_url":"https://api.github.com/users/vangalamaheshh/gists{/gist_id}","starred_url":"https://api.github.com/users/vangalamaheshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vangalamaheshh/subscriptions","organizations_url":"https://api.github.com/users/vangalamaheshh/orgs","repos_url":"https://api.github.com/users/vangalamaheshh/repos","events_url":"https://api.github.com/users/vangalamaheshh/events{/privacy}","received_events_url":"https://api.github.com/users/vangalamaheshh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-22T22:58:11Z","updated_at":"2017-08-22T23:32:01Z","closed_at":null,"body":"@jbingham -\r\n\r\nI have dealt with bigquery, storage and many other APIs using python and Golang. In all these instances, I never faced any issue with capturing and authorizing context based on env. variable GOOGLE_APPLICATION_CREDENTIALS=/path/to/gcp-json.key.\r\n\r\nHowever, dockerflow doesnot recognize this. When I declare the ENV and try dockerflow --help, I will get OAuth token: null.\r\n\r\nIn order to work this, I have to manually do\r\ngcloud auth application-default login\r\nand authenticate and authorize.\r\n\r\nThis is not going to work when I want to run dockerflow as a service using k8s and what not.\r\n\r\nThis seems to be clearly a bug.\r\n\r\nAny thoughts from your end?\r\n\r\nThank you,\r\nMahesh"},"comment":{"url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/comments/324179828","html_url":"https://github.com/googlegenomics/dockerflow/issues/39#issuecomment-324179828","issue_url":"https://api.github.com/repos/googlegenomics/dockerflow/issues/39","id":324179828,"user":{"login":"jbingham","id":563113,"avatar_url":"https://avatars3.githubusercontent.com/u/563113?v=4","gravatar_id":"","url":"https://api.github.com/users/jbingham","html_url":"https://github.com/jbingham","followers_url":"https://api.github.com/users/jbingham/followers","following_url":"https://api.github.com/users/jbingham/following{/other_user}","gists_url":"https://api.github.com/users/jbingham/gists{/gist_id}","starred_url":"https://api.github.com/users/jbingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbingham/subscriptions","organizations_url":"https://api.github.com/users/jbingham/orgs","repos_url":"https://api.github.com/users/jbingham/repos","events_url":"https://api.github.com/users/jbingham/events{/privacy}","received_events_url":"https://api.github.com/users/jbingham/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T23:32:01Z","updated_at":"2017-08-22T23:32:01Z","body":"Dockerflow uses the standard Google Java library to access the credentials. Behavior shouldn't be unique to Dockerflow in any way. Have you looked for other Google Cloud products work, or at examples of the client libraries?"}}
{"actor":{"display_login":"jbingham"}}