hashicorp / hashicorp/vault-auth-plugin-example
Using /etc/ as an example directory is a banana peel
- Dominant language
- Go
- Stars
- 45
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
### Issue Description
As seen [here](https://groups.google.com/g/vault-tool/c/IVYLA3aH72M), it is easy to slip up with /etc/ being a symlink in MacOS. This results in the error `can not execute files outside of configured plugin directory`.
Although an understanding of the plugin system is a prerequisite, I still found this gotcha unexpected for an example/tutorial.
## Solutions
I worked around this by setting a config.hcl with `plugin_directory = "/private/etc/vault/plugins"` and starting Vault with `vault server -config /path/to/config.hcl`
Perhaps a different directory could be used, or the README should have a warning?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.