Files

31 lines
1.1 KiB
Bash

# DingTalk Workspace CLI Environment Variables
# Copy this file to .env and fill in your values
# DingTalk App Credentials (required for OAuth authentication)
# DWS_CLIENT_ID=<your-dingtalk-app-client-id>
# DWS_CLIENT_SECRET=<your-dingtalk-app-client-secret>
# Configuration directory (optional, defaults to ~/.dws)
# DWS_CONFIG_DIR=
# Language setting (optional, defaults to system locale)
# DWS_LANG=
# Trusted domains for API requests (optional)
# DWS_TRUSTED_DOMAINS=*.dingtalk.com
# Allow HTTP endpoints (0=no, 1=yes; default: 0)
# DWS_ALLOW_HTTP_ENDPOINTS=0
# Cache directory (optional, defaults to ~/.dws/cache)
# DWS_CACHE_DIR=
# Agent integration metadata (optional; ordinary non-plugin MCP requests only)
# DWS_AGENT_PRODUCT=example-agent
# DWS_AGENT_HOST=cloud
# DWS_AGENT_VER=0.1.5
# DWS_AGENT_EXT='{"umt":"example-redacted","miniwua":"example-redacted","ua":"ExampleAgent/0.1.5"}'
# The outer single quotes above are shell syntax and are not part of the value.
# DWS_AGENT_EXT is sensitive caller-declared JSON (max 8 KiB); never put real
# tokens in committed files or use this metadata alone for authentication.