From slack messages:
authz sends opa a PUT request for /v1/data/opa_token :
{
"client_addr": "127.0.0.1:57932",
"level": "info",
"msg": "Received request.",
"req_id": 3520,
"req_method": "PUT",
"req_path": "/v1/data/opa_token",
"time": "2026-04-15T15:28:24Z"
}
OPA responds with a 401 status every time:
{
"client_addr": "127.0.0.1:57932",
"level": "info",
"msg": "Sent response.",
"req_id": 3520,
"req_method": "PUT",
"req_path": "/v1/data/opa_token",
"resp_bytes": 87,
"resp_duration": 0.467167,
"resp_status": 401,
"time": "2026-04-15T15:28:24Z"
}
(these show up as request rejected by administrative policy in the authz log)
This seems to occur right after authz renews the OPA approle token.
As far as I can tell, this can only happen if the file /permissions_engine/opa_secret is not present or has an incorrect value in the Opa container, but the only time that happens is on initial setup.
From slack messages:
authz sends opa a PUT request for /v1/data/opa_token :
OPA responds with a 401 status every time:
(these show up as
request rejected by administrative policyin the authz log)This seems to occur right after authz renews the OPA approle token.
As far as I can tell, this can only happen if the file
/permissions_engine/opa_secretis not present or has an incorrect value in the Opa container, but the only time that happens is on initial setup.