Skip to content

Secrets Management & PKI

With Apeiro Security, we will extend the open source project OpenBao

with enterprise-grade features, transforming it into a comprehensive solution for secure secrets management and certificate lifecycle automation.

"OpenBao is an identity-based secrets and encryption management system. A secret is anything that you want to tightly control access to, such as API encryption keys, passwords, and certificates. OpenBao provides encryption services that are gated by authentication and authorization methods. Using OpenBao's UI, CLI, or HTTP API, access to secrets and other sensitive data can be securely stored and managed, tightly controlled (restricted), and auditable." [1]

We see the following use cases for OpenBao.

Bootstrapping

For provisioning of services, credentials are needed, for example database passwords. We want to store these secrets securely in OpenBao, such that they can be accessed from automated provisioning procedures. Administrator access is needed for the initial configuration or issue resolution.

Secrets
Secrets

For automated startup, OpenBao must support auto-unsealing, while the unseal key should be stored in

Hardware security module (HSM)[2].

For HSM access, PKCS#11[3] support must be added to OpenBao. For multi-tenancy, namespace support must be added to OpenBao. In addition, disaster recovery is needed for enterprise readiness.

PKI

The central component of each Public Key Infrastructure (PKI) is a Certification Authority (CA), which issues certificates that can be used for authentication. The root certificate of a CA is used to digitally sign user certificates, server certificates or CRLs (certificate revocation lists). Thus, the private key of a CA must be carefully secured. The private key should be stored in an HSM (or at least encrypted with a key stored in an HSM). As above, administrator access is needed for the initial configuration or issue resolution.

PKI
PKI

For automated TLS configuration of server certificates (ACME[4] protocol), OpenBao must support automated access to the private key for signing certificates. If we store the private key in HSM, we must extend the PKCS#11 support of OpenBao to enable digital signatures.


  1. What is OpenBao? ↩︎

  2. Wikipedia: Hardware security module ↩︎

  3. Wikipedia: PKCS#11 ↩︎

  4. Wikipedia: ACME ↩︎

Funded by the European Union, NextGenerationEU; Supported by Federal Ministry of Economic Affairs and Energy on the basis of a decision by the German Bundestag

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.

Logo of SAP SELogo of the Apeiro Reference ArchitectureLogo of the NeoNephos foundation