-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsecrets.yaml.example
More file actions
39 lines (35 loc) · 1.79 KB
/
Copy pathsecrets.yaml.example
File metadata and controls
39 lines (35 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-FileCopyrightText: 2026 Koen van Greevenbroek
#
# SPDX-License-Identifier: GPL-3.0-or-later
# API Credentials Template
#
# Each entry below is for a specific maintenance task; configure one only if you
# run that task. Each can also be set via an environment variable instead of
# this file (the env var takes precedence).
#
# Copy this file to config/secrets.yaml and fill in what you need.
# IMPORTANT: config/secrets.yaml is excluded from git - never commit real credentials!
credentials:
# Needed only to refresh nutrition data from USDA FoodData Central
# (data.usda.retrieve_nutrition: true), i.e. after adding a food.
# Or set the USDA_API_KEY environment variable instead.
usda:
# Get your API key from: https://fdc.nal.usda.gov/api-guide.html
api_key: "API_KEY" # Replace with your actual key
# MAINTAINER-ONLY (tools/mirror_land_cover.py). Safe to omit for builds.
ecmwf:
# ECMWF Climate Data Store credentials
# Get your credentials from: https://cds.climate.copernicus.eu/api-how-to
# You need to:
# 1. Register at https://cds.climate.copernicus.eu/user/register
# 2. Accept the dataset license at https://cds.climate.copernicus.eu/datasets/satellite-land-cover
# 3. Get your personal access token from your profile page
# Or set ECMWF_DATASTORES_URL / ECMWF_DATASTORES_KEY env vars instead.
url: "https://cds.climate.copernicus.eu/api"
key: "API_KEY" # Replace with your actual token
# MAINTAINER-ONLY (tools/mirror_land_cover.py). Safe to omit for builds.
zenodo:
# Zenodo personal access token with the "deposit:write" and
# "deposit:actions" scopes. Create one at https://zenodo.org/account/settings/applications/tokens/new/
# Or set ZENODO_TOKEN env var instead.
token: "ZENODO_TOKEN" # Replace with your actual token