Skip to main content

Using environment variables as secrets

During Runtime

Enterprise OPA supports using environment variables for static runtime configuration.

See the Open Policy Agent documentation for reference.

During Discovery

info

This feature is only supported in Enterprise OPA.

Enterprise OPA supports using environment variables in static JSON configuration files delivered via discovery.

This feature makes discovery configuration and runtime configuration equivalent.