📜  kimurae heroku config (1)

📅  最后修改于: 2023-12-03 15:17:08.717000             🧑  作者: Mango

Kimurae Heroku Config

Kimurae Heroku Config is a command-line interface tool for managing your Heroku environment variables with ease.

Introduction

When deploying an application to Heroku, it is crucial to keep sensitive information (such as API keys, passwords, and access tokens) out of the codebase. Instead, these variables should be stored as environment variables on Heroku. This ensures that sensitive information remains safe and secure.

Kimurae Heroku Config is a tool that makes managing your Heroku environment variables quick and simple. With just a few commands, you can easily update, delete, and view your environment variables.

Installation

To install Kimurae Heroku Config, run the following command:

npm install -g kimurae-heroku-config
Usage
Viewing Environment Variables

To view all environment variables for your Heroku app, run the following command:

kimurae heroku config

This will return a list of all environment variables, along with their current values.

Updating Environment Variables

To update an environment variable for your Heroku app, run the following command:

kimurae heroku config:set VARIABLE_NAME=NEW_VALUE

Replace VARIABLE_NAME with the name of the environment variable you want to update, and NEW_VALUE with the new value you want to set.

Deleting Environment Variables

To delete an environment variable for your Heroku app, run the following command:

kimurae heroku config:unset VARIABLE_NAME

Replace VARIABLE_NAME with the name of the environment variable you want to delete.

Conclusion

Kimurae Heroku Config is a powerful tool that can help you manage your Heroku environment variables with ease. With just a few commands, you can view, update, and delete your environment variables, ensuring that your sensitive information remains safe and secure.