# Temp files created when using templates for certificates in vault agent

**URL:** <https://discuss.hashicorp.com/t/temp-files-created-when-using-templates-for-certificates-in-vault-agent/55400>\
**Category:** Vault\
**Tags:** consul-template, vault\
**Created:** [June 26, 2023, 6:59am UTC](https://discuss.hashicorp.com/t/temp-files-created-when-using-templates-for-certificates-in-vault-agent/55400 "2023-06-26T06:59:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raazeev64](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@raazeev64](https://discuss.hashicorp.com/u/raazeev64)\
**Post date:** [June 26, 2023, 6:59am UTC](https://discuss.hashicorp.com/t/temp-files-created-when-using-templates-for-certificates-in-vault-agent/55400/1 "2023-06-26T06:59:02Z")

</div>

I am using vault agent to manage my secrets(cert/keys) using templates. Now, when the secrets are rendered, I see some temp files created in the directory as well. The name of those files are only numbers like [0-9]\*.  
Can I use the pattern in an app-armor profile I am creating ? I need to have strict control.
