<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mgnup</author_name>
  <author_url>https://blog.hatena.ne.jp/mgnup/</author_url>
  <blog_title>MUGENUP技術ブログ</blog_title>
  <blog_url>https://mugenup-tech.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。MUGENUPの林です。 私の担当サービスは、かつてRails 5.1以下を使っていた名残で、secrets.ymlで秘密情報を管理していました。 ※現在の バージョンは 5.2.3 です。 secrets.ymlとdatabase.ymlが手動管理ということは、変更漏れによるエラーが発生してしまう可能性が高く危険です。 credentialへ移行し、変更の必要のないmaster.keyのみ手動管理する方法に切り替えることにしました。 credentialはRails5.2より追加されました。 railsguides.jp credential作成 EDITOR=&quot;vim&quot; bin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmugenup-tech.hatenadiary.com%2Fentry%2F2019%2F12%2F20%2F105932&quot; title=&quot;Rails 環境別の設定ごと secrets.yml -&amp;gt; credentialへ移行 - MUGENUP技術ブログ&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-ak.f.st-hatena.com/images/fotolife/m/mgnup/20191219/20191219164315.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-20 10:59:32</published>
  <title>Rails 環境別の設定ごと secrets.yml -&gt; credentialへ移行</title>
  <type>rich</type>
  <url>https://mugenup-tech.hatenadiary.com/entry/2019/12/20/105932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
