{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/1246","repository_url":"https://api.github.com/repos/hashicorp/vault","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/1246/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/1246/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/1246/events","html_url":"https://github.com/hashicorp/vault/issues/1246","id":142377038,"number":1246,"title":"core: Could Vault manage known config files?","user":{"login":"radeksimko","id":287584,"avatar_url":"https://avatars.githubusercontent.com/u/287584?v=3","gravatar_id":"","url":"https://api.github.com/users/radeksimko","html_url":"https://github.com/radeksimko","followers_url":"https://api.github.com/users/radeksimko/followers","following_url":"https://api.github.com/users/radeksimko/following{/other_user}","gists_url":"https://api.github.com/users/radeksimko/gists{/gist_id}","starred_url":"https://api.github.com/users/radeksimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeksimko/subscriptions","organizations_url":"https://api.github.com/users/radeksimko/orgs","repos_url":"https://api.github.com/users/radeksimko/repos","events_url":"https://api.github.com/users/radeksimko/events{/privacy}","received_events_url":"https://api.github.com/users/radeksimko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-03-21T15:08:17Z","updated_at":"2016-10-12T16:24:29Z","closed_at":null,"body":"The standard day-to-day workflow for Vault user is the following:\n\n1. `vault auth -method=abc username=johndoe` => ends up with a valid `~/.vault-token`\n2. `vault read aws/creds/role-name`\n3. Copy the credentials from the screen\n4. Open `~/.aws/credentials` and paste the credentials + tune the format so that AWS CLI is happy\n\nThere is a lot of room for error when copy-pasting + it will soon become bothersome, especially with keys that have been leased for short time period.\n\nIt's not only common workflow for AWS, but for many other secret backends. There are standardised locations & formats of config files for many:\n\n - AWS - `~/.aws/credentials` or file with standard ENV vars to be `source`d\n - Docker - `~/.docker/config.json`\n - [PostgreSQL](http://www.postgresql.org/docs/9.2/static/libpq-pgpass.html) - `~/.pgpass`\n - [MySQL](http://dev.mysql.com/doc/refman/5.7/en/option-files.html) - `~/.my.cnf`\n - SSH - `~/.ssh/`\n - etc.\n\nWould there be any interest in getting the logic for updating config files into Vault?"},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/253263520","html_url":"https://github.com/hashicorp/vault/issues/1246#issuecomment-253263520","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/1246","id":253263520,"user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T16:24:29Z","updated_at":"2016-10-12T16:24:29Z","body":"Right now the normal workflow for this would be to use Consul-Template."}}
{"actor":{"display_login":"jefferai"}}