The Heroku Redis CLI documentation states that connecting via the Heroku CLI is insecure, as it relies on the redis-cli
binary.
Is there a secure way to connect to a Heroku Redis instance via a command-line interface? Connecting via my local machine, or though a dyno as a relay both work fine.
I believe this is because you're using the hobby-dev
tier of Heroku Redis which seems not to support SSL.
SSL for Heroku Redis is only available on production tier plans. The hobby-dev plan is meant for testing and staging environments, not production.
https://devcenter.heroku.com/articles/securing-heroku-redis
Similar Q answered here: How can I securely connect to Heroku-hosted Redis from the command line?