Heroku Key-Value Store
Manage Heroku Key-Value Store safely by separating read-only inspection from state-changing operations.
Start with store inspection
Resolve this installed skill's directory first. Do not assume the current workspace contains the skill source repository.
Run the bundled helper from this skill's scripts/ directory:
python3 /path/to/heroku-key-value-store/scripts/store_snapshot.py --app <app>
If no app is known yet, run it without --app to inspect CLI readiness only.
Read-only-first flow
Begin with:
heroku redis:info -a <app> --jsonheroku redis:credentials -a <app>heroku redis:wait -a <app>
Use these results to confirm:
- which add-on is primary
- whether credentials are healthy
- whether the store is available before proposing a change
Current connection guidance
- Treat
REDIS_URLas the current TLS connection variable. - Do not recommend
REDIS_TLS_URLorREDIS_TEMPORARY_URL; they are obsolete guidance for current Heroku Key-Value Store workflows. - Avoid printing raw credentials or connection URLs unless the user explicitly asks.
Change operations
Ask for confirmation before:
redis:credentials --resetredis:promoteredis:maxmemoryredis:timeoutredis:keyspace-notificationsredis:upgrade- plan or add-on changes managed through
addons:*
After a change, re-check redis:info, redis:wait, and any app behavior that depends on REDIS_URL.
References
- Read
references/key-value-store.mdfor connection notes, operational guardrails, and source links.