Environment Variables¶
Environment variables for NEMAR CLI configuration.
Authentication¶
| Variable | Description | Required |
|---|---|---|
NEMAR_API_KEY |
Your NEMAR API key | For auth |
API Configuration¶
| Variable | Description | Default |
|---|---|---|
NEMAR_API_URL |
API base URL | Production API |
Usage Examples¶
In Shell¶
In Scripts¶
With dotenv¶
Create a .env file (don't commit this!):
Then:
CI/CD Usage¶
GitHub Actions¶
jobs:
upload:
steps:
- name: Upload dataset
env:
NEMAR_API_KEY: ${{ secrets.NEMAR_API_KEY }}
run: nemar dataset upload ./data
Security¶
Never Commit Secrets
- Add
.envto.gitignore - Use secret management in CI/CD
- Rotate keys if exposed