Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure support #4

Closed
wants to merge 3 commits into from
Closed

Add Azure support #4

wants to merge 3 commits into from

Conversation

takuro-sato
Copy link
Collaborator

@takuro-sato takuro-sato commented Jan 23, 2024

Draft for the PR

Please check:

  • Code changes
  • PR description
  • Commit message (especially name and email)
  • Comments in the PR [WIP: i am going to add]

Draft for the actual PR↓↓↓

Adding Azure support

This PR is adding support for enabling deployment of Bidding and Auction Services on Azure.

Azure Privacy Sandbox architecture: https://1drv.ms/w/s!AmI-86sms1pYqJ5Uqgo5Qv2Ynmrcmw?e=BDC8BH
(We'll make a PR for the document in https://github.com/privacysandbox/protected-auction-services-docs/tree/main in future)

Now B&A services can fetch private and public HPKE keys from an Azure KMS, specifically designed to support the B&A services, and handle test requests.

To try this changes locally, please visit here.

The PR for data-plane-shared-libraries repository: [TODO: link]

Changes

  • Add Azure support
    • Add Azure configurations. e.g. --platform=azure (for Bazel), kAzure (C++ enum value).
    • Add Azure scripts and configuration files for production/packaging
    • Update some test cases to add test coverage for kAzure.

TODOs for future PRs

  • Add scripts to Deploy B&A services to Azure

Comment on lines 112 to 115
return config_entries_map_.contains(name);
return config_entries_map_.contains(name) &&
config_entries_map_.at(name) != kEmptyValue;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Comment for actual PR]
This is a change included in the previous PR privacysandbox#7.

Comment on lines -89 to +92
google::scp::cpio::PrivateKeyVendingEndpoint primary, secondary;
google::scp::cpio::PrivateKeyVendingEndpoint primary;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Comment for actual PR]
This file includes changes included the previous PR privacysandbox#7.
They are necessary here to test the other changes.

Co-authored-by: Dominic Ayre <dominicayre@microsoft.com>
Co-authored-by: Joe Powell <joepowell@microsoft.com>
Co-authored-by: Kapil Vaswani <kapilv@microsoft.com>
Co-authored-by: Ken Gordon <Ken.Gordon@microsoft.com>
Co-authored-by: Mahati Chamarthy <mahati.chamarthy@microsoft.com>
Co-authored-by: Ronny Bjones <ronny.bjones@microsoft.com>
@takuro-sato takuro-sato force-pushed the add-azure-support branch 2 times, most recently from ef3080a to 766537f Compare January 25, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants