-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
boolean string options in configuration file should have consistent documentation #1559
Comments
It's an unfortunate artifact of the way things are parsed, mostly to allow variations of true/false (for instance, see the text of https://www.vaultproject.io/docs/config/index.html#tls_disable). This is especially important because of how environment variables are handled, which are strings. The default for that option is listed as Some of the boolean values have more documentation than others about acceptable values; I'll take this as a documentation TODO to make that more consistent. |
@jefferai Thanks for clarifying! |
With `ha_enabled = true` vault crashes with the following error: ``` error parsing 'storage': storage.dynamodb: At 17:16: root.ha_enabled: unknown type for string *ast.LiteralType ``` This seems related to hashicorp#1559
With `ha_enabled = true` vault crashes with the following error: ``` error parsing 'storage': storage.dynamodb: At 17:16: root.ha_enabled: unknown type for string *ast.LiteralType ``` This seems related to #1559
Our documentation continually undergoes refactoring and is hopefully much more consistent in this regard now. |
I'm using Vault 0.6, and attempting to disable the Consul service auto-registration.
With this configuration:
I get the following error:
However, after changing
disable_registration
to a string, I don't:This distinction is also upheld in the documentation, where defaults for boolean variables (see
tls_skip_verify
) are unquoted, whereas the default for disable_registration is a quoted string.Am I crazy, or should this variable be a boolean?
Thank you for your great work!
The text was updated successfully, but these errors were encountered: