# How to prevent auto updating vault secrets after pod restarts

**URL:** <https://discuss.hashicorp.com/t/how-to-prevent-auto-updating-vault-secrets-after-pod-restarts/17228>\
**Category:** Vault\
**Created:** [November 5, 2020, 4:19pm UTC](https://discuss.hashicorp.com/t/how-to-prevent-auto-updating-vault-secrets-after-pod-restarts/17228 "2020-11-05T16:19:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShriprasadM](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/shriprasadm/32/11170_2.png) [@ShriprasadM](https://discuss.hashicorp.com/u/ShriprasadM)\
**Post date:** [November 5, 2020, 4:19pm UTC](https://discuss.hashicorp.com/t/how-to-prevent-auto-updating-vault-secrets-after-pod-restarts/17228/1 "2020-11-05T16:19:59Z")

</div>

Use case

1. Application A deployed using k8s and secrets are rendered and injected into the application
2. application has one secret - secret1 with value = 1 i.e. secret1 = value1
3. now using vault UI we changed the secret1 = value1 to secret1 = value2
4. Application A is now rescaled
5. Here, Application A must not get secret1 = value2 but it should retain with secret1 = value1
6. How to ensure this?
