Rails working with credentials
1/ To view credentials, use this:
rails credentials:show <environment> <key>
Eg for development: rails credentials:show
2/ To edit credentials:
RAILS_ENV=development VISUAL=nano rails credentials:edit
3/ Now to use the credential:
Rails.application.credentials.stripe_publishable_key