-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
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
Work around issues with urllib and LIST request method #773
Comments
If you initialize hvac.Client with |
Hi guys! I faced with similar issue with the PKI secrets engine: hvac.exceptions.InvalidRequest: Bad Request, on list https://vault_domain/v1/pki/issuers According to the the advice but when I'm changing this parameter strict_http to "True" in adapters I'm facing a new issue for PKI secrets engine: hvac.exceptions.InvalidPath: 1 error occurred: , on get https://vault_domain/v1/pki/issuer Seems that after changing to the GET request it's using the wrong API URL (GET request used for read_issuer method). I'm facing this issue in all list methods (e.g. list_certificates, list_roles etc.) I have Python 3.11 version, hvac version 2.3.0 |
When using
hvac
I ran into an issue where I kept getting 400: Bad Request when I tried to list secrets.The following gives me a 400:
However using the
list=true
query parameter and GET:The request works fine.
I've been able to reproduce this issue across Linux/Python 3.7 and Windows/Python 3.9
Could hvac switch to using the query parameter to work around this issue?
The text was updated successfully, but these errors were encountered: