Menu

Securing Heroku CLI Credentials with System Keychain Storage
📰

Securing Heroku CLI Credentials with System Keychain Storage

#heroku#credential#netrc#keychain#article
Reading 0:00
15s threshold

Beginning in version 11.8.0, we will be improving the security of the Heroku CLI by storing authentication credentials in your system keychain by default. The Heroku credential manager makes use of OS-native secure storage tools with interfaces designed for sensitive data while maintaining compatibility with existing developer workflows.

We began the transition to our new credential management tool in version 11.6.0 of the CLI, storing the token in both the keychain and the .netrc file to ensure this improvement is as seamless as possible. With version 11.8.0, managing credentials via the system keychain becomes the default, while the use of .netrc files becomes a fallback.

Your next heroku login will automatically use keychain storage and commands like git push heroku main will continue working without configuration changes.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.