-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env-example
More file actions
52 lines (45 loc) · 2.62 KB
/
Copy path.env-example
File metadata and controls
52 lines (45 loc) · 2.62 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
40
41
42
43
44
45
46
47
48
49
50
51
52
# =============================================================================
# NMDC Mass Spec Automation - Environment Variables
# =============================================================================
# This file contains all environment variables required by the nmdc_dp_utils module.
# Copy this file to .env and fill in your actual values.
# =============================================================================
# -----------------------------------------------------------------------------
# MinIO Object Storage Credentials (REQUIRED)
# -----------------------------------------------------------------------------
# Used for uploading/downloading processed data to/from MinIO object storage
# Default server: admin.nmdcdemo.emsl.pnl.gov
MINIO_ACCESS_KEY=your_key_here
MINIO_SECRET_KEY=your_key_here
# -----------------------------------------------------------------------------
# Logging Configuration (OPTIONAL)
# -----------------------------------------------------------------------------
# Set the logging level for the NMDC workflow manager
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# Default: INFO
NMDC_LOG_LEVEL=INFO
# Set a file path to write logs to a file (in addition to console output)
# If not set, logs will only be written to console
# Example: /path/to/nmdc_workflow.log
NMDC_LOG_FILE=
# -----------------------------------------------------------------------------
# LLM API Configuration (REQUIRED for LLM features)
# -----------------------------------------------------------------------------
# API key for the AI Incubator service (used by llm_client.py)
# Required only if using LLM-based protocol context features
AI_INCUBATOR_API_KEY=your_key_here
# -----------------------------------------------------------------------------
# NMDC Client Configuration (REQUIRED for production metadata generation)
# -----------------------------------------------------------------------------
# CLIENT_ID and CLIENT_SECRET are required for minting production IDs
CLIENT_ID=your_id_here
CLIENT_SECRET=your_client_secret_here
# NMDC_USERNAME and NMDC_PASSWORD are required for submitting metadata packages
# Use your NMDC user account credentials (same as NMDC runtime API login)
NMDC_USERNAME=your_nmdc_username
NMDC_PASSWORD=your_nmdc_password
# Server API URL and refresh token for retrieving protocol information
# SERVER_REFRESH_TOKEN is required, but if SERVER_API_URL is not set, it will default to the prod url
# You can get the refresh token from the https://data.microbiomedata.org/user OR dev instance if you are testing in dev they MUST MATCH
SERVER_API_URL=data portal url
SERVER_REFRESH_TOKEN=your_refresh_token_here