how to post secret data .env on heroku code example Example: spring heroku change environment $ heroku config:set SPRING_PROFILES_ACTIVE=tst