{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1668","repository_url":"https://api.github.com/repos/drone/drone","labels_url":"https://api.github.com/repos/drone/drone/issues/1668/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1668/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1668/events","html_url":"https://github.com/drone/drone/pull/1668","id":159591291,"number":1668,"title":"Add `--secrets-file` option to exec command","user":{"login":"frapposelli","id":541832,"avatar_url":"https://avatars.githubusercontent.com/u/541832?v=3","gravatar_id":"","url":"https://api.github.com/users/frapposelli","html_url":"https://github.com/frapposelli","followers_url":"https://api.github.com/users/frapposelli/followers","following_url":"https://api.github.com/users/frapposelli/following{/other_user}","gists_url":"https://api.github.com/users/frapposelli/gists{/gist_id}","starred_url":"https://api.github.com/users/frapposelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frapposelli/subscriptions","organizations_url":"https://api.github.com/users/frapposelli/orgs","repos_url":"https://api.github.com/users/frapposelli/repos","events_url":"https://api.github.com/users/frapposelli/events{/privacy}","received_events_url":"https://api.github.com/users/frapposelli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-10T09:09:47Z","updated_at":"2016-06-17T17:13:25Z","closed_at":"2016-06-17T17:05:09Z","pull_request":{"url":"https://api.github.com/repos/drone/drone/pulls/1668","html_url":"https://github.com/drone/drone/pull/1668","diff_url":"https://github.com/drone/drone/pull/1668.diff","patch_url":"https://github.com/drone/drone/pull/1668.patch"},"body":"This adds a flag to `drone exec` to pass a yaml file with plaintext secrets, file follows this convention:\n\n```yaml\nsecrets:\n  SLACK_URL: https://hooks.slack.com/services/whatever/floats/yourboat\n  AWS_ACCESS_KEY_ID: loremipsum\n  AWS_SECRET_ACCESS_KEY: blahblahblahblah\n  AWS_DEFAULT_REGION: us-east-1\n```\n\nI'm introducing a new type directly in the exec file, not sure if it warrants its own type in the drone/yaml package"},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/226827227","html_url":"https://github.com/drone/drone/pull/1668#issuecomment-226827227","issue_url":"https://api.github.com/repos/drone/drone/issues/1668","id":226827227,"user":{"login":"frapposelli","id":541832,"avatar_url":"https://avatars.githubusercontent.com/u/541832?v=3","gravatar_id":"","url":"https://api.github.com/users/frapposelli","html_url":"https://github.com/frapposelli","followers_url":"https://api.github.com/users/frapposelli/followers","following_url":"https://api.github.com/users/frapposelli/following{/other_user}","gists_url":"https://api.github.com/users/frapposelli/gists{/gist_id}","starred_url":"https://api.github.com/users/frapposelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frapposelli/subscriptions","organizations_url":"https://api.github.com/users/frapposelli/orgs","repos_url":"https://api.github.com/users/frapposelli/repos","events_url":"https://api.github.com/users/frapposelli/events{/privacy}","received_events_url":"https://api.github.com/users/frapposelli/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T17:13:25Z","updated_at":"2016-06-17T17:13:25Z","body":"🎉 🎉 🎉 🎉 🎉 🎉 "}}
{"actor":{"display_login":"frapposelli"}}