Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 791 Bytes

File metadata and controls

23 lines (17 loc) · 791 Bytes
layout page_title description
docs
Vault Agent Auto-Auth JWT Method
JWT Method for Vault Agent Auto-Auth

Vault Agent Auto-Auth JWT Method

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.

Configuration

  • path (string: required) - The path to the JWT file

  • role (string: required) - The role to authenticate against on Vault

  • remove_jwt_after_reading (bool: optional, defaults to true) - This can be set to false to disable the default behavior of removing the JWT after it's been read.