-
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
Token create command forces creating periodic token #3874
Comments
@solmonk Thanks for reporting this! I was able to reproduce the error and pinpoint the issue, which is due to the way that we parse args on the revamped CLI. In the meantime, you can correctly create tokens by hitting the API directly via cURL, Postman, etc. Concretely, this would be the command for cURL:
Edit: More precisely, it's due to the way that we establish default duration values in the CLI. |
@calvn As of Vault 0.11.4 #3874 is not fixed, can you re-open? ( My repro:
Thanks. |
@andresvia the JSON output you are getting from |
@calvn so this means I'm using a recent client with an older server... I got it. Should I update the server instead, to have this issue solved, right? It's unfortunately not in my hands to update the server, I think this should have been fixed on both sides to prevent cases like this. |
Environment:
Expected Behavior:
Actual Behavior:
I compared the raw request with the previous version(v0.9.1) of vault client.
Previous:
Current:
It seems like period field (along with some other fields) is always filled, which I think is the problem.
The text was updated successfully, but these errors were encountered: