{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/1663","repository_url":"https://api.github.com/repos/hashicorp/vault","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/1663/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/1663/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/1663/events","html_url":"https://github.com/hashicorp/vault/issues/1663","id":167943968,"number":1663,"title":"Mysql backend - vault read (mysql)/roles/?list=true fails","user":{"login":"singram","id":337349,"avatar_url":"https://avatars.githubusercontent.com/u/337349?v=3","gravatar_id":"","url":"https://api.github.com/users/singram","html_url":"https://github.com/singram","followers_url":"https://api.github.com/users/singram/followers","following_url":"https://api.github.com/users/singram/following{/other_user}","gists_url":"https://api.github.com/users/singram/gists{/gist_id}","starred_url":"https://api.github.com/users/singram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singram/subscriptions","organizations_url":"https://api.github.com/users/singram/orgs","repos_url":"https://api.github.com/users/singram/repos","events_url":"https://api.github.com/users/singram/events{/privacy}","received_events_url":"https://api.github.com/users/singram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T20:06:10Z","updated_at":"2016-07-27T20:06:10Z","closed_at":null,"body":"I'm attempting to get a list of the available roles for the mysql backend but failing\r\n\r\nFollowing the [documentation](https://www.vaultproject.io/docs/secrets/mysql/index.html) yields ....\r\n\r\n```\r\n./vault read /roles/?list=true\r\nError reading roles/?list=true: Error making API request.\r\n\r\nURL: GET http://127.0.0.1:8200/v1/roles/%!F(MISSING)list=true\r\nCode: 400. Errors:\r\n\r\n* no handler for route 'roles/?list=true/'\r\n```\r\nOn the off-chance the documentation is wrong (the list URL is missing the \\mysql path prefix) this call also fails.\r\n\r\n```\r\n$ ./vault read mysql/roles/?list=true\r\nError reading mysql/roles/?list=true: Error making API request.\r\n\r\nURL: GET http://127.0.0.1:8200/v1/mysql/roles/%!F(MISSING)list=true\r\nCode: 500. Errors:\r\n\r\n* 1 error(s) occurred:\r\n\r\n* unsupported path\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"singram"}}