I think that zsh has env. So should see SECRET_KEY_BASE in the output from env command.
zsh
env
SECRET_KEY_BASE