<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>bash on PAUL&apos;S BLOG</title>
  <link>https://paulyu.dev/tags/bash/</link>
  <description>Recent content on bash on PAUL&apos;S BLOG</description>
  <language>en-us</language>
  <lastBuildDate>Mon, 27 Feb 2023 21:09:20 GMT</lastBuildDate>
  <atom:link href="https://paulyu.dev/tags/bash/index.xml" rel="self" type="application/rss+xml" />
  <item>
  <title>Purging Deleted Azure Key Vaults</title>
  <link>https://paulyu.dev/code/purging-deleted-azure-vaults/</link>
  <guid isPermaLink="true">https://paulyu.dev/code/purging-deleted-azure-vaults/</guid>
  <pubDate>Mon, 27 Feb 2023 21:09:20 GMT</pubDate>
  <description>&lt;p&gt;Do you constantly provision and delete Azure Key Vaults?&lt;/p&gt;
&lt;p&gt;If so, you may have noticed attempts to recreate a recently deleted key vault will result in the following error:&lt;/p&gt;
&lt;figure data-rehype-pretty-code-figure=&quot;&quot;&gt;&lt;pre style=&quot;background-color:#0d1117;color:#e6edf3&quot; tabindex=&quot;0&quot; data-language=&quot;text&quot; data-theme=&quot;github-dark-default&quot;&gt;&lt;code data-language=&quot;text&quot; data-theme=&quot;github-dark-default&quot; style=&quot;display: grid;&quot;&gt;&lt;span data-line=&quot;&quot;&gt;&lt;span&gt;The vault name is already in use.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
&lt;p&gt;This is because Azure Key Vaults are kept in a deleted state and not automatically purged. You must manually purge these key vaults to be able to reuse the name.&lt;/p&gt;
&lt;p&gt;To confirm the key vault in question is in &quot;deleted&quot; state, you can run the following:&lt;/p&gt;</description>
</item>
</channel>
</rss>