<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>Microsoft Azure</anon>
    <anon>Terraform</anon>
  </categories>
  <description>Azure Functions で staging スロットと production スロットをスワップしたら、関数のアクセスキーもスワップされてしまった。アクセスキーのスワップを防ぐには、例えば Key Vault にアクセスキーが保存されるように構成する必要があるみたい。知らなかった。 同じ Key Vault のコンテナを production と staging の両方で参照することで、スワップしてもアクセスキーが変わらないことを確認できた。以下、その構成で作成するための Terraform コード。 resource &quot;azurerm_resource_group&quot; &quot;example…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2025%2F05%2F15%2Fazure-functions-fixed-access-key&quot; title=&quot;Azure Functionsで関数のアクセスキーを固定する - present&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-15 19:18:11</published>
  <title>Azure Functionsで関数のアクセスキーを固定する</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/2025/05/15/azure-functions-fixed-access-key</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
