<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moriuss</author_name>
  <author_url>https://blog.hatena.ne.jp/moriuss/</author_url>
  <blog_title>Yappli Tech Blog</blog_title>
  <blog_url>https://tech.yappli.io/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>AWS</anon>
  </categories>
  <description>サーバーサイドエンジニアの森谷です。 画像ファイルなどS3に置いてあるコンテンツの配信の仕方として、S3バケットは非公開にしておきつつも許可されたユーザーに対しては署名付きURLを用いて限定的なアクセスを許可する方法がよく用いられているかと思います。 これはS3単体で署名付きURLを発行することもできますが、CloudFront経由でアクセスさせるURLを発行する方法も用意されています。 今回はその実装をGoで行ったコードの紹介記事となります。 前提知識 CloudFront + S3での配信の仕組みやAWS側の設定についての解説は、すでに世の中に素晴らしい記事がたくさんありますので説明を割愛…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.yappli.io%2Fentry%2Fgo-cloudfront-s3&quot; title=&quot;CloudFront署名付きURLを用いたS3コンテンツの配信をGoで実装する - Yappli Tech Blog&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/153221285/1600243384103025</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-06 12:46:59</published>
  <title>CloudFront署名付きURLを用いたS3コンテンツの配信をGoで実装する</title>
  <type>rich</type>
  <url>https://tech.yappli.io/entry/go-cloudfront-s3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
