{"action":"created","issue":{"url":"https://api.github.com/repos/concourse/git-resource/issues/44","repository_url":"https://api.github.com/repos/concourse/git-resource","labels_url":"https://api.github.com/repos/concourse/git-resource/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/concourse/git-resource/issues/44/comments","events_url":"https://api.github.com/repos/concourse/git-resource/issues/44/events","html_url":"https://github.com/concourse/git-resource/pull/44","id":147668331,"number":44,"title":"username and password auth for HTTP(S) added","user":{"login":"MatthiasWinzeler","id":474567,"avatar_url":"https://avatars.githubusercontent.com/u/474567?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthiasWinzeler","html_url":"https://github.com/MatthiasWinzeler","followers_url":"https://api.github.com/users/MatthiasWinzeler/followers","following_url":"https://api.github.com/users/MatthiasWinzeler/following{/other_user}","gists_url":"https://api.github.com/users/MatthiasWinzeler/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthiasWinzeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthiasWinzeler/subscriptions","organizations_url":"https://api.github.com/users/MatthiasWinzeler/orgs","repos_url":"https://api.github.com/users/MatthiasWinzeler/repos","events_url":"https://api.github.com/users/MatthiasWinzeler/events{/privacy}","received_events_url":"https://api.github.com/users/MatthiasWinzeler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concourse/git-resource/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/concourse/git-resource/labels/scheduled","name":"scheduled","color":"f4f4f4"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T08:07:47Z","updated_at":"2016-05-11T13:08:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/concourse/git-resource/pulls/44","html_url":"https://github.com/concourse/git-resource/pull/44","diff_url":"https://github.com/concourse/git-resource/pull/44.diff","patch_url":"https://github.com/concourse/git-resource/pull/44.patch"},"body":"We're sitting behind a corporate firewall that only allows HTTPS access to our git repositories.\r\nIn such scenarios, public key - which is only possible using ssh - is not possible and username and password auth needs to be used.\r\n\r\nThis PR introduces two options, `username` and `password` which can be used for authenticating with HTTP(S)."},"comment":{"url":"https://api.github.com/repos/concourse/git-resource/issues/comments/218453760","html_url":"https://github.com/concourse/git-resource/pull/44#issuecomment-218453760","issue_url":"https://api.github.com/repos/concourse/git-resource/issues/44","id":218453760,"user":{"login":"srbry","id":16936753,"avatar_url":"https://avatars.githubusercontent.com/u/16936753?v=3","gravatar_id":"","url":"https://api.github.com/users/srbry","html_url":"https://github.com/srbry","followers_url":"https://api.github.com/users/srbry/followers","following_url":"https://api.github.com/users/srbry/following{/other_user}","gists_url":"https://api.github.com/users/srbry/gists{/gist_id}","starred_url":"https://api.github.com/users/srbry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srbry/subscriptions","organizations_url":"https://api.github.com/users/srbry/orgs","repos_url":"https://api.github.com/users/srbry/repos","events_url":"https://api.github.com/users/srbry/events{/privacy}","received_events_url":"https://api.github.com/users/srbry/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T13:08:42Z","updated_at":"2016-05-11T13:08:42Z","body":"Might not be the same reason as I am seeing but I want to use secret replacement so i dont save my passwords with my pipeline, doing this has the following error:\r\n\r\nsecrets file:\r\n```\r\nusername: test_user\r\npassword: test_password\r\n```\r\npipeline.yml  `uri: https://{{username}}:{{password}}@github.com/example`\r\n\r\nExpected concourse config: `https://test_user:test_password@github.com/example`\r\n\r\nActual concourse config: `https://\"test_user\":\"test_password\"@github.com/example`\r\n\r\nAs i work around I am replacing my entire uri, it would be nice if i could just pass in a username and password as appropriate"}}