Disconnect PKI workers from upstreams when they are no longer authorized (#2515)
This commit is contained in:
19 files changed
+966
-150
No files matched your search
@@ -30,4 +30,12 @@ const (
|
||||
)
|
||||
select * from worker_auth_authorized where worker_id in (select * from key_id_to_worker_id)
|
||||
`
|
||||
|
||||
authorizedWorkerQuery = `
|
||||
select distinct w.worker_key_identifier
|
||||
from
|
||||
worker_auth_certificate_bundle as w
|
||||
where
|
||||
w.worker_key_identifier in (?)
|
||||
`
|
||||
)
|
||||
Reference in new issue
Block a user