-
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
secret/generic: TTL ignored when sent as integer #2697
Comments
It actually is explained in the docs. From the docs:
|
(I didn't close this because not properly handling a non-string is indeed a bug and we'll fix it.) |
Ah. Whoever split the docs missed that "see above for details". I'll point that to the non-API section of the docs. |
Also, is there something special that I have to do to the server to enforce the TTL values? Because I set a secret entry in there to 10 seconds a few minutes ago, and it's still just as available as it was when I created it.... Have I misunderstood the purpose of the TTL? |
The |
The paragraph above what I quoted before explains this:
|
Sets the TTL to 300 seconds:
Ignores the TTL value, with no error or warning:
The behaviour of the TTL field also isn't explained in the api docs, which is another issue.
The text was updated successfully, but these errors were encountered: