You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to use environment variables for the Youtube and Vimeo API keys. This would allow users (including myself) to commit the config.toml file into version control without exposing any secrets.
Proposition
API keys for Youtube and Vimeo can be set using either the [tokens] table in config.toml or can be set using the environment variables PODSYNC_TOKENS_YOUTUBE and PODSYNC_TOKENS_VIMEO. Multiple tokens are separated by commas in the environment variables. This means that running
In the case of both environment variables being set and tokens present in config.toml, the environment variable tokens would override any tokens present in config.toml.
The text was updated successfully, but these errors were encountered:
It would be great to be able to use environment variables for the Youtube and Vimeo API keys. This would allow users (including myself) to commit the
config.toml
file into version control without exposing any secrets.Proposition
API keys for Youtube and Vimeo can be set using either the
[tokens]
table inconfig.toml
or can be set using the environment variablesPODSYNC_TOKENS_YOUTUBE
andPODSYNC_TOKENS_VIMEO
. Multiple tokens are separated by commas in the environment variables. This means that runningwould be equivalent to having
in
config.toml
.In the case of both environment variables being set and tokens present in
config.toml
, the environment variable tokens would override any tokens present inconfig.toml
.The text was updated successfully, but these errors were encountered: