{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/182","repository_url":"https://api.github.com/repos/hashicorp/vault-ruby","labels_url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/182/comments","events_url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/182/events","html_url":"https://github.com/hashicorp/vault-ruby/issues/182","id":348480126,"node_id":"MDU6SXNzdWUzNDg0ODAxMjY=","number":182,"title":"vault-ruby cannot write secrets to vault server, version >=0.10.0","user":{"login":"arecker","id":5051721,"node_id":"MDQ6VXNlcjUwNTE3MjE=","avatar_url":"https://avatars1.githubusercontent.com/u/5051721?v=4","gravatar_id":"","url":"https://api.github.com/users/arecker","html_url":"https://github.com/arecker","followers_url":"https://api.github.com/users/arecker/followers","following_url":"https://api.github.com/users/arecker/following{/other_user}","gists_url":"https://api.github.com/users/arecker/gists{/gist_id}","starred_url":"https://api.github.com/users/arecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arecker/subscriptions","organizations_url":"https://api.github.com/users/arecker/orgs","repos_url":"https://api.github.com/users/arecker/repos","events_url":"https://api.github.com/users/arecker/events{/privacy}","received_events_url":"https://api.github.com/users/arecker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-08-07T20:43:59Z","updated_at":"2018-11-02T17:22:50Z","closed_at":null,"author_association":"NONE","body":"Writing a secret with the CLI:\r\n\r\n```\r\nroot@bootstrap-ubuntu-1604:~# vault version\r\nVault v0.10.0 ('5dd7f25f5c4b541f2da62d70075b6f82771a650d')\r\nroot@bootstrap-ubuntu-1604:~# vault kv put secret/bacon \"delicions=true,cooktime=11\"\r\nKey              Value\r\n---              -----\r\ncreated_time     2018-08-07T20:42:02.333492408Z\r\ndeletion_time    n/a\r\ndestroyed        false\r\nversion          1\r\n```\r\n\r\nWriting a secret with vault-ruby:\r\n\r\n```\r\n[1] pry(main)> require 'vault'\r\n[2] pry(main)> client = Vault::Client.new(address: 'http://127.0.0.1:8200', token: File.read('/root/.vault-token'))\r\n[3] pry(main)> client.logical.write(\"secret/bacon\", delicious: true, cooktime: \"11\")\r\nVault::HTTPClientError: The Vault server at `http://127.0.0.1:8200' responded with a 404.\r\nAny additional information the server supplied is shown below:\r\n\r\n  * {\"request_id\":\"7e8e4d50-4972-2129-4dc4-4e0c7ef37db9\",\"lease_id\":\"\",\"renewable\":false,\"lease_duration\":0,\"data\":null,\"wrap_info\":null,\"warnings\":[\"Invalid path for a versioned K/V secrets engine. See the API docs for the appropriate API endpoints to use. If using the Vault CLI, use 'vault kv put' for this operation.\"],\"auth\":null}\r\n```\r\n\r\nThe last version of vault that still works is 0.9.6."},"comment":{"url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/comments/435450825","html_url":"https://github.com/hashicorp/vault-ruby/issues/182#issuecomment-435450825","issue_url":"https://api.github.com/repos/hashicorp/vault-ruby/issues/182","id":435450825,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTQ1MDgyNQ==","user":{"login":"grosser","id":11367,"node_id":"MDQ6VXNlcjExMzY3","avatar_url":"https://avatars3.githubusercontent.com/u/11367?v=4","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T17:22:50Z","updated_at":"2018-11-02T17:22:50Z","author_association":"NONE","body":"@evanphx do you know if support for v2 in the ruby client is planned / in the works ?"}}
{"actor":{"display_login":"grosser"}}