# Have Terraform's Vault provider renew its Vault token

**URL:** <https://discuss.hashicorp.com/t/have-terraforms-vault-provider-renew-its-vault-token/20407>\
**Category:** Terraform Providers\
**Created:** [February 1, 2021, 8:15pm UTC](https://discuss.hashicorp.com/t/have-terraforms-vault-provider-renew-its-vault-token/20407 "2021-02-01T20:15:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ixe013](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ixe013/32/2605_2.png) [@ixe013](https://discuss.hashicorp.com/u/ixe013)\
**Post date:** [February 1, 2021, 8:15pm UTC](https://discuss.hashicorp.com/t/have-terraforms-vault-provider-renew-its-vault-token/20407/1 "2021-02-01T20:15:25Z")

</div>

By policy, every token issued by our in-house Vault are short lived (regardless of client). Vault clients renew their token periodically so that’s not a problem.

But we also have a Terraform script that runs for a long time, longer than the validity period of the VAULT\_TOKEN we provided it.

Is there a way to instruct Terraform to renew its Vault token periodically, so that it remains valid as long as required to run the Terraform script?
