{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/247","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/247/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/247/events","html_url":"https://github.com/hashicorp/vault/issues/247","id":78701586,"number":247,"title":"Support Config File for Vault Client","user":{"login":"dragonndev","id":3311715,"avatar_url":"https://avatars.githubusercontent.com/u/3311715?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonndev","html_url":"https://github.com/dragonndev","followers_url":"https://api.github.com/users/dragonndev/followers","following_url":"https://api.github.com/users/dragonndev/following{/other_user}","gists_url":"https://api.github.com/users/dragonndev/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonndev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonndev/subscriptions","organizations_url":"https://api.github.com/users/dragonndev/orgs","repos_url":"https://api.github.com/users/dragonndev/repos","events_url":"https://api.github.com/users/dragonndev/events{/privacy}","received_events_url":"https://api.github.com/users/dragonndev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/vault/labels/enhancement","name":"enhancement","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-20T21:18:46Z","updated_at":"2015-05-20T23:44:19Z","closed_at":null,"body":"When using vault as a client app (when unsealing for example) it would be nice if you could specify a client config like you can for the server config. Having to specify the address and ca-cert path variables on each CLI call is rather cumbersome. "},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/104072958","html_url":"https://github.com/hashicorp/vault/issues/247#issuecomment-104072958","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/247","id":104072958,"user":{"login":"ianunruh","id":1237189,"avatar_url":"https://avatars.githubusercontent.com/u/1237189?v=3","gravatar_id":"","url":"https://api.github.com/users/ianunruh","html_url":"https://github.com/ianunruh","followers_url":"https://api.github.com/users/ianunruh/followers","following_url":"https://api.github.com/users/ianunruh/following{/other_user}","gists_url":"https://api.github.com/users/ianunruh/gists{/gist_id}","starred_url":"https://api.github.com/users/ianunruh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianunruh/subscriptions","organizations_url":"https://api.github.com/users/ianunruh/orgs","repos_url":"https://api.github.com/users/ianunruh/repos","events_url":"https://api.github.com/users/ianunruh/events{/privacy}","received_events_url":"https://api.github.com/users/ianunruh/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:44:19Z","updated_at":"2015-05-20T23:44:19Z","body":"An easy solution you may consider is creating a script and sourcing it before using the client.\r\n\r\n```bash\r\n#!/bin/bash\r\nexport VAULT_CAPATH=XXX\r\nexport VAULT_TOKEN=XXX\r\nexport VAULT_ADDR=XXX\r\n```\r\n\r\n```bash\r\nchmod 640 vaultrc\r\nsource vaultrc\r\nvault unseal XXX\r\n```"}}