1--- 2layout: "docs" 3page_title: "Vault Agent Auto-Auth JWT Method" 4sidebar_title: "JWT" 5sidebar_current: "docs-agent-autoauth-methods-jwt" 6description: |- 7 JWT Method for Vault Agent Auto-Auth 8--- 9 10# Vault Agent Auto-Auth JWT Method 11 12The `jwt` method reads in a JWT from a file and sends it to the [JWT Auth 13method](https://www.vaultproject.io/docs/auth/jwt.html). Since JWTs often have 14limited lifetime, it constantly watches for a new JWT to be written, and when 15found it will immediately ingress this value, delete the file, and use the new 16JWT to perform a reauthentication. 17 18## Configuration 19 20* `path` `(string: required)` - The path to the JWT file 21 22* `role` `(string: required)` - The role to authenticate against on Vault 23