We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when used couchdb as backend for vault, the vault returns only 100 secrets when ran below api https://vault:8200/v1/secret?list=true
I see the limit is hardcoded in the code. It would be good enough if an env variable or a flag is made available for setting this limit.
func (m *couchDBClient) list(prefix string) ([]couchDBListItem, error) { req, _ := http.NewRequest("GET", fmt.Sprintf("%s/_all_docs", m.endpoint), nil) req.SetBasicAuth(m.username, m.password) values := req.URL.Query() values.Set("skip", "0") values.Set("limit", "100") values.Set("include_docs", "false") if prefix != "" { values.Set("startkey", fmt.Sprintf("%q", prefix)) values.Set("endkey", fmt.Sprintf("%q", prefix+"{}")) } req.URL.RawQuery = values.Encode()
Its an important fix that IBM needs. Please help prioritizing this issue.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
when used couchdb as backend for vault, the vault returns only 100 secrets when ran below api
https://vault:8200/v1/secret?list=true
I see the limit is hardcoded in the code. It would be good enough if an env variable or a flag is made available for setting this limit.
Its an important fix that IBM needs. Please help prioritizing this issue.
The text was updated successfully, but these errors were encountered: