Store `api_key` as Environment Variable
nicholaswilde opened this issue · 4 comments
nicholaswilde commented
Is it possible to store the api_key
listed in .wakatime.cfg
file as an environmental variable instead? Perhaps something like WAKATIME_API_KEY
. This would help by being able to create backups of my encrypted bash exports file.
gandarez commented
@alanhamlett would you agree that some editors and the cli could read WAKATIME_API_KEY
env var?
gandarez commented
@nicholaswilde sorry being so late replying you. Are you still wanting this feature? We already implemented a way you can import any config file over already loaded wakatime one. Does that help you achieving what you want?
alanhamlett commented
Closing as solved by including config files so you can backup the main config without api key.