In the vault agent documentation we can read that:
The jwt method reads in a JWT from a file and sends it to the JWT Auth method. Since JWTs often have limited lifetime, it constantly watches for a new JWT to be written, and when found it will immediately ingress this value, delete the file, and use the new JWT to perform a reauthentication.
However, that's not the behaviour implemented since #5615, we now have to set an undocumented flag in order to obtain the behaviour described. That wouldn't be a big issue, the flag could be added to the documentation, but the comment on top of the flag is a bit worrying:
NOTE: This is unsupported outside of testing and may disappear at any time.
Since the documented behaviour makes sense, we should use the JWT immediately, I ask for this flag not be removed in the future and documented properly.