Skip to content

Initial draft of CONFIG DB Data Encryption Master Key Management#2425

Open
fredxia-nexthop wants to merge 1 commit into
sonic-net:masterfrom
fredxia-nexthop:master-key-encryption
Open

Initial draft of CONFIG DB Data Encryption Master Key Management#2425
fredxia-nexthop wants to merge 1 commit into
sonic-net:masterfrom
fredxia-nexthop:master-key-encryption

Conversation

@fredxia-nexthop

Copy link
Copy Markdown

This document describes the design of a Master Key Encryption Infrastructure for SONiC that enables at-rest encryption of sensitive configuration fields in ConfigDB (Redis). It defines the general infrastructure — master key management, an AES-GCM encryption library, a code-defined encryption registry, and a transparent ConfigDB interception layer — and then describes how BGP MD5 peer authentication passwords are the first application built on top of this infrastructure.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@fredxia-nexthop
fredxia-nexthop force-pushed the master-key-encryption branch from ce83d44 to 65f5f33 Compare July 14, 2026 04:09
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@nmoray

nmoray commented Jul 14, 2026

Copy link
Copy Markdown

@fredxia-nexthop I guess we already have similar sort of infra in the SONIC. Please refer to the following PRs.

sonic-net/sonic-buildimage#22711
sonic-net/sonic-buildimage#17201

Anders from Nexthop already knew about this feature. :-)

@fredxia-nexthop
fredxia-nexthop force-pushed the master-key-encryption branch from 65f5f33 to 0911aa8 Compare July 14, 2026 14:42
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

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.

3 participants