Suggested Authentication Token Management Workflow
The worker currently expects:
ANTENNA_API_BASE_URL: The base URL of the Antenna Django application
ANTENNA_API_TOKEN: The authentication token for API access
Antenna Admin
- Creates user for the Worker
- Generates a token via
/admin/authtoken/tokenproxy/add/
- Communicates token to Worker Admin
Worker Admin:
# Set environment variables
export ANTENNA_API_BASE_URL="https://antenna.yourorg.com"
export ANTENNA_API_TOKEN="your-generated-token-here"
# Or create a .env file
echo "ANTENNA_API_BASE_URL=https://antenna.yourorg.com" > .env
echo "ANTENNA_API_TOKEN=your-generated-token-here" >> .env
Run the worker:
ami worker --pipelines moth_binary
Recommend manually rotating tokens periodically (quarterly/annually)
Suggested Authentication Token Management Workflow
The worker currently expects:
Antenna Admin
/admin/authtoken/tokenproxy/add/Worker Admin:
Run the worker:
Recommend manually rotating tokens periodically (quarterly/annually)