Does consul-template support revoking vault tokens on termination?

Is there a setting that can be used to revoke the vault token when the consul-template terminates?

Hi @harsimranmaan that’s not something consul-template is capable off. I recommend you look at leveraging something that is triggered once consul-template is terminated. An example would be using systemd to start consul-template as a service and using the systemd attribute ExecStopPost attribute to execute a script that revokes the Vault token.