Hello , Welcome to MS Q&A
Azure Key Vault using an ARM template is not possible. According to the documentation, it's only possible to create new keys via ARM template, and it isn't possible to update existing keys or create new versions of existing keys. If the key already exists, then the existing key is retrieved from storage and used (no write operations will occur). To update the activation and expiry date of a key, you can use the Azure portal, Azure PowerShell, Azure CLI, or REST API.
References:
Please let me know if any questions
kindly accept answer if it helps
Thanks
Deepanshu