wakatime/wakatime-cli

Store `api_key` as Environment Variable

nicholaswilde opened this issue · 4 comments

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.

@alanhamlett would you agree that some editors and the cli could read WAKATIME_API_KEY env var?

@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?

#464
#702

Closing as solved by including config files so you can backup the main config without api key.