» Vault Agent Auto-Auth AppRole Method
approle method reads in a role ID and a secret ID from files and sends
the values to the AppRole Auth
The method caches values and it is safe to delete the role ID/secret ID files after they have been read. In fact, by default, after reading the secret ID, the agent will delete the file. New files or values written at the expected locations will be used on next authentication and the new values will be cached.
(string: required)- The path to the file with role ID
(string: optional)- The path to the file with secret ID. If not set, only the
role-idwill be used. \ In that case, the AppRole should have
falseotherwise Vault Agent wouldn't be able to login.
(bool: optional, defaults to true)- This can be set to
falseto disable the default behavior of removing the secret ID file after it's been read.
(string: optional)- If set, the value at
secret_id_file_pathwill be expected to be a Response-Wrapping Token containing the output of the secret ID retrieval endpoint for the role (e.g.
auth/approle/role/webservers/secret-id) and the creation path for the response-wrapping token must match the value set here.