-
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
flag provided but not defined: -stored-shares #3969
Comments
Also change the rekey API to not require explicitly setting values to 1. Fixes #3969
Also change the rekey API to not require explicitly setting values to 1. Fixes #3969
The same thing happened for
|
@madsonic The flag is |
hmmm in this case. should the error message be updated to be more accurate? |
@madsonic What would you suggest? |
initially when I read the message I thought that it meant the value for the flag was not defined. perhaps |
$ vault -v
Vault v0.9.3+prem.hsm ('cf19c60258ae531107f6562fa8609c62ea039ad0') (cgo)
Saw same behavior on Vault v0.9.2+prem.hsm ('d2fe786e8430d4949f57a4a92566de82e17262b9') (cgo)
Expected Behavior:
Should be like 0.9.1+prem.hsm, where the
stored-shares=1
flag is accepted for sys/rekey/initActual Behavior:
Yet when you try without that flag it says that flag is required:
The API docs say (at the top, in the header) that stored-shares is required for the HSM version, but stored-shares parameter is not included in
sys/rekey/init
: https://www.vaultproject.io/api/system/rekey.html#start-rekeyThe text was updated successfully, but these errors were encountered: