privacysandbox / bidding-auction-servers

Apache License 2.0
38 stars 12 forks source link

v1 protocol for communication with BYO KV service #21

Open fhoering opened 13 hours ago

fhoering commented 13 hours ago

For compatibility reasons with Chrome and on-device auctions the bidding & auction service should support the v1 protocol with BYO KV service. Is this the case ? How one can configure this service ? Normally it is an https endpoint like https://mykvservice.com/getvalues (below it is specified as "dns:///..")

Existing terraform example config is here: https://github.com/privacysandbox/bidding-auction-servers/blob/main/production/deploy/aws/terraform/environment/demo/buyer/buyer.tf#L30

  tee_kv_server_exists  = false
  tee_kv_server_domain  = "kv-${local.buyer_operator}-${local.environment}-appmesh-virtual-service.${local.buyer_root_domain}"
  tee_kv_server_address = "dns:///${local.tee_kv_server_domain}:50051"
akundla-google commented 8 hours ago

B&A supports BYOS KV for Protected Audience only. You'd set the address for this for the buyer on Line 89, BUYER_KV_SERVER_ADDR, https://github.com/privacysandbox/bidding-auction-servers/blob/722e1542c262dddc3aaf41be7b6c159a38cefd0a/production/deploy/aws/terraform/environment/demo/buyer/buyer.tf#L89