<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>serverworks</author_name>
  <author_url>https://blog.hatena.ne.jp/serverworks/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>カルチャー</anon>
  </categories>
  <description>AWSのAPIを利用する場合、API発行側の時刻にずれがあるとAWSからAuthFailureが返却される場合があります。このため、API発行側の時刻はNTPなどを用いて正しい時刻に合わせておく必要があります。 では、なぜ時刻が重要なのでしょうか。その理由はAPI発行時の署名にあります。 AWSのAPIを利用する場合には署名が必要で、公式ドキュメントにも記述があります。 https://docs.aws.amazon.com/ja\_jp/general/latest/gr/signing\_aws\_api\_requests.html</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Ftech%2F2016%2F10%2F14%2Faws_api_authfailure%2F&quot; title=&quot;AWS APIを利用する場合はAPI発行側の時刻を合わせておく必要がある - サーバーワークスエンジニアブログ&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>2016-10-14 11:09:32</published>
  <title>AWS APIを利用する場合はAPI発行側の時刻を合わせておく必要がある</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/tech/2016/10/14/aws_api_authfailure/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
