Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to set credentials as api key in YML (e.g. storage.yml)
service: Cloudinary
api_key: <%= Rails.application.credentials.dig(:cloudinary, :api_key) %>
api_secret: <%= Rails.application.credentials.dig(:cloudinary, :api_secret) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment