Skip to content

Mysql backend - vault read (mysql)/roles/?list=true fails #1663

@singram

Description

@singram

I'm attempting to get a list of the available roles for the mysql backend but failing

Following the documentation yields ....

./vault read /roles/?list=true
Error reading roles/?list=true: Error making API request.

URL: GET http://127.0.0.1:8200/v1/roles/%!F(MISSING)list=true
Code: 400. Errors:

* no handler for route 'roles/?list=true/'

On the off-chance the documentation is wrong (the list URL is missing the \mysql path prefix) this call also fails.

$ ./vault read mysql/roles/?list=true
Error reading mysql/roles/?list=true: Error making API request.

URL: GET http://127.0.0.1:8200/v1/mysql/roles/%!F(MISSING)list=true
Code: 500. Errors:

* 1 error(s) occurred:

* unsupported path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions