mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-09 21:51:40 +00:00
21 lines
583 B
Plaintext
21 lines
583 B
Plaintext
---
|
|
layout: docs
|
|
page_title: Vault Agent Auto-Auth JWT Method
|
|
description: 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](/vault/docs/auth/jwt).
|
|
|
|
## 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.
|