Skip to content
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

error while getting mounts: Error making API request. #10

Closed
axi92 opened this issue Oct 12, 2022 · 2 comments
Closed

error while getting mounts: Error making API request. #10

axi92 opened this issue Oct 12, 2022 · 2 comments

Comments

@axi92
Copy link

axi92 commented Oct 12, 2022

Hi I get this error:

$ vault-kv-search secret/ a
error while getting mounts: Error making API request.

URL: GET https://vault.service.consul:8200/v1/sys/mounts
Code: 403. Errors:

* 1 error occurred:
	* permission denied

I guess there is a permission to list the mount points, but I dont need that if I know I can access it. Same token as used in the vault UI.
Also the ui gehts the mount point list from this url:
https://vault:8200/v1/sys/internal/ui/mounts

There is it defined: https://github.com/hashicorp/vault/blob/8bf08661646ea7827e59ad8fe7927c53f940e681/api/sys_mounts.go#L21

@xbglowx
Copy link
Owner

xbglowx commented Jan 4, 2024

Maybe #32 will fix your problem. You will have to specify the version though, to prevent auto discovery.

@xbglowx
Copy link
Owner

xbglowx commented Jan 31, 2024

#32 should have fixed this for you. If not, let me know.

@xbglowx xbglowx closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants