Rails Multi Environment Credentials


  • I ended up deleting master.key and credentials.yml.enc since I'd rather use development and production specific keys and credentials per below
rails credentials:show --environment=development

EDITOR="mate --wait" bin/rails credentials:edit --environment=development


  • Credentials added to global file config/credentials.yml.enc will not be loaded in environments which have their own environment specific credentials file


  • 0 posts
  • 0 subtopics
  • 6 months ago by vince