Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key vault soft delete handle #596

Open
04diiguyi opened this issue Jan 19, 2023 · 0 comments
Open

Key vault soft delete handle #596

04diiguyi opened this issue Jan 19, 2023 · 0 comments
Assignees

Comments

@04diiguyi
Copy link

04diiguyi commented Jan 19, 2023

In the sample code to deploy infrastructure, key vault uses the default setting which enables soft delete.
As a result, once we delete key vault and recreate it, we will encounter an issue since key vault is still there (soft delete mode).
We could either disable soft delete for key vault, or check if the key vault is in soft delete mode, if so, restore it, otherwise create it.

DoD

  • Clean Up bash script modified to include the soft deletion of the previously created Key Vault
  • On the cases that the Clean-Up scripts wasn't used, then the deployment script needs some changes. The script should check if the key vault in the current deployment is on the soft delete list. If so - there might be 2 approaches that can be investigated - either restoring the deleted key vault or hard deleting it and re-creating it for the new deployment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants