envs

Heroku — CLI and platform API

heroku/platform · version 1

envs add heroku/platform

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
HEROKU_API_KEY required secret Overrides whatever is in the system keychain or .netrc, which is where the CLI otherwise keeps it. It is an OAuth token used in place of the account password. Rotation is in place: regenerating invalidates the current token, and changing the account password regenerates it too. No shape documented.. where to get it

The JSON the CLI reads