Skip to content

Installation

pip install cognite-power-ops

Configuration

Configuration of PowerOpsClient and resync is done through YAML and environment variables.

Use the example configuration as a starting point:

Environment Variable Substitution

Keep secrets out of committed YAML files and reference environment variables instead:

project: "${PROJECT}"
base_url: "https://${CLUSTER}.cognitedata.com"

If you use a .env file, load it before creating PowerOpsClient or running resync.