Store API key using the cli. Avoid overlap with Atmosphere Data Store key
Closed this issue · 2 comments
jeromaerts commented
Ask the user in the command line to fill in the URL and API Key, so that the .cdsapirc will be automatically generated.
BSchilperoort commented
In addition to this, storing the API key in a different file, only for era5cli, could be useful as well. The ADS uses the cds API, including the .cdsapirc
file but with a different URL and different API keys.
E.g. ~/.era5clirc
.
Peter9192 commented
or ~/.config/era5cli
for consistency with ~/.config/ewatercycle.yaml
?