【发布时间】:2020-05-09 20:54:31
【问题描述】:
我想使用我服务器上的现成凭据。
我愿意EDITOR="nano --wait" bin/rails credentials:edit
然后,我将 credentials.yml.enc 和 master.key 的内容替换为我服务器上这些文件中的内容。
但是当我尝试读取凭据时,我收到错误Couldn't decrypt config/credentials.yml.enc. Perhaps you passed the wrong key?
【问题讨论】: