Nishanth Mathew Joy
12/08/2025, 10:02 AMAsk Inkeep
12/08/2025, 10:02 AMAsk Inkeep
12/08/2025, 10:03 AMbundle.tar.gz file and be able to serve it to the OPAL server .
For authentication with bundle servers, you can configure the following environment variables (1) (3) :
• `POLICY_BUNDLE_SERVER_TYPE`: Set to HTTP (authenticated with bearer token) or AWS-S3 (1)
• `POLICY_BUNDLE_SERVER_TOKEN_ID`: The Secret Token Id
• `POLICY_BUNDLE_SERVER_TOKEN`: The Secret Token
• `POLICY_BUNDLE_SERVER_AWS_REGION`: The AWS Region if using AWS-S3
The OPAL server provides endpoints for retrieving policy bundles for specific scopes, as shown in the /scopes/{scope_id}/policy endpoint (4) , which returns policy bundles in the same format as the general /policy endpoint (5) .
OPAL server supports two ways to detect changes in the tracked bundle server (1) :
• *Polling by fixed intervals* - checks periodically if there's a new bundle file
• *Webhook* - trigger the OPAL server to fetch a new bundle by issuing an HTTP REST request to <opal-server-url>/webhookAsk Inkeep
12/08/2025, 10:03 AM