ArchyRWS architecture
Menu
Search Archy…

Search Archy

Secrets Management

ABBDraftLast reviewed

Work in progress according to its author.

Local drafting workspace

Secrets Management

Secrets/secrets-management.md

Local draft — not saved or submitted. Download and use the Git/PR workflow. Changes stay in this page’s memory, never alter the published note, and are lost on reload. The .md download contains the narrative only; preserve the original frontmatter in Git. The preview is not publication validation.

Preview

Images and raw HTML are disabled. Preview links do not navigate. Markdown links are checked when the source is built, not here.

Published source loaded. No local changes.

View source & provenance

Summary

This capability governs the creation, storage, delivery, replacement and retirement of confidential credentials used by services and automation. It separates authority to obtain a secret from authority to administer its store. The scope includes application passwords, API credentials and service keys; certificate trust and human authentication have their own certificate and identity boundaries.

This is an independently authored capability proposal. The CLaaS assignment now identifies OpenBao, external first and DCS later, as its concrete solution direction. Its target release and operating model remain open. The requirements below are proposed acceptance conditions, not observed controls; the earlier review date does not cover this new solution reference.

Capabilities

  • Identify each secret's owner, consumer, purpose and permitted environments. Distinguish service administrators, secret administrators and workload readers.
  • Authenticate a consumer before releasing a credential and restrict disclosure to its required scope. A shared credential must have an explicit justification and a plan for attributing and ending its use.
  • Support replacement and retirement with a consumer adoption check. A rotation is incomplete while consumers still depend on the superseded credential.
  • Record access and administration events without recording secret values. Evidence must identify coverage gaps and retention ownership.
  • Preserve recovery access and required key material through the failure being recovered. Demonstrate that restored consumers can authenticate and that removed consumers do not regain access through restored historical configuration.

Constraints

Secret values must not enter Git, container images, architecture notes, build logs or unrestricted evidence bundles. References and delivery contracts belong in source; confidential values require an authorized delivery path.

Documented boundary: Kubernetes warns that upstream Secrets are stored unencrypted in etcd by default, and that authority to create Pods can provide indirect access to Secrets in that namespace (P1). A Secret object is therefore not proof of encrypted storage or tenant isolation. The intended OpenShift configuration, workload permissions and administrator boundary remain unverified.

Proposed requirement: a synchronized credential needs protection both in its central store and after materialization. Document encryption, access, rotation, backup and deletion at every copy. Do not describe synchronization as eliminating Kubernetes Secret objects or preventing every authorized workload from reading them.

Service Description

A consumer requests access using its assigned identity; the service checks its policy and supplies a narrowly scoped credential through the agreed interface. The consuming application remains responsible for safe use, reload behavior and avoiding accidental disclosure. Secret administration owns issuance and retirement; the application/service owner owns adoption and the business permission attached to that credential. These are roles to assign, not existing organizational mandates.

For Quay, distinguish stored robot credentials, database/object-store credentials and configuration or signing keys. The existing runtime research identifies configuration/generated keys among recovery inputs. Replacing a password and rotating a signing key may have different effects and must not share an assumed rollback procedure.

Failure and Recovery Boundaries

Agree behavior when the store is unavailable, a credential expires, synchronization lags, or a consumer cannot reload. If caching is allowed, bound its lifetime and revocation consequences. Automatic fallback to an unmanaged static credential is not part of this proposal. Emergency access requires an accountable authorization, limited duration, evidence and subsequent credential review.

Architectural inference: central rotation can break a healthy consumer if replacement and adoption are not coordinated. Acceptance should exercise both overlap during replacement and refusal of the old credential afterward. Recovery must account for the store's own bootstrap authentication and unseal/decryption dependencies; an instruction to retrieve everything from the unavailable store does not establish recovery independence.

Interfaces

Automation needs a controlled credential delivery path and redacted execution evidence. The consumer contract must describe how a credential is requested, replaced, adopted and retired.

Dependencies

Consumer authentication relies on the identity contract, and protected endpoints rely on certificate lifecycle. Coordinated recovery must identify recoverable state and independent access. These are proposed interface allocations; no mandatory dependency graph or implementation is asserted.

Roadmaps

First agree one consumer, credential scope and failure contract. Next evaluate a concrete solution and an authorized rotation/recovery scenario.

Landing Locations

Permitted hosting locations, service targets and support ownership remain open.

Available SBBs

OpenBao is now an authored draft SBB for the assignment's direction: consume the existing external service initially, with DCS hosting as a later transition. Its realizes relationship links back here. This is not evidence of current consumer access or a decision to migrate the service before March.

EIRA Alignment

EIRA mapping and applicable security-policy assessment are not established here.

Evidence, Review and Next Questions

Whole-note documentation review: 2026-10-05 (Europe/Amsterdam), covering the narrative, linked contracts and the public source below. No live controls, credentials, policy compliance or recovery test were inspected.

  • P1 — current upstream guidance: Kubernetes Secrets, introduction and cautions, consulted 2026-10-05. Floating documentation; it does not establish the target OpenShift release or effective configuration.
  • Historical provenance: rws-arch-wb commit d224d15b83a46834560c3a3c7ecd3052ebc2b4f9, RWS-ARCH/70-togaf/abb/secrets-management.md lines 27–41 and RWS-ARCH/80-workpackages/wp-03-trust-and-secret-services.md lines 23–47. These informed subject selection; their owners, product choices and acceptance claims are not carried forward as authority.

Open questions: who authorizes disclosure and emergency access; which credentials require dynamic issuance versus controlled replacement; what exposure/caching window is acceptable; and what evidence proves consumer adoption and revocation? Use the next solution investigation to refine Q6 and Q7, without treating a stored credential as proof of permitted action or trusted content.

Explore this note’s relationships 16 connected notes

Connections are authored references and declared relationships, not verified runtime dependencies or approval.

17 notes · 25 relationships

Every note and relationship is available in the list below. The interactive map requires JavaScript.

Outline is the note kindABBSBBHLDResearchNoteMarkdown referenceTyped relationship
Icon is the documented subjectRegistryIdentityNetworkCertificatesRecoveryAutomationInventorySecretsGeneral note
Notes and relationships Accessible list

Notes (17)

Relationships (25)

Source & provenance

This is the published reading view. The Markdown source and Git review workflow remain authoritative; publication is not architectural approval.

Source
Secrets/secrets-management.md
Identifier
secrets-management
Kind
Architecture building block
Status
Draft, as authored
Revision
a3203210221340f80866b0462f4d63b49ebc5aea

Last reviewed . A recorded review date is the author’s review of the whole note, not an edit date, build date or approval. Editing a local draft does not update it.

Read the Markdown source

Read-only narrative source. Authored labels and relationships are listed above; this view does not write to the vault.


# Secrets Management

## Summary

This capability governs the creation, storage, delivery, replacement and retirement
of confidential credentials used by services and automation. It separates authority
to obtain a secret from authority to administer its store. The scope includes
application passwords, API credentials and service keys; certificate trust and
human authentication have their own [certificate](../Certificates/certificate-lifecycle.md)
and [identity](../Identity/federated-authentication.md) boundaries.

This is an independently authored capability proposal. The CLaaS assignment now
identifies [OpenBao, external first and DCS later](openbao.md), as its concrete
solution direction. Its target release and operating model remain open. The
requirements below are proposed acceptance conditions, not observed controls;
the earlier review date does not cover this new solution reference.

## Capabilities

- Identify each secret's owner, consumer, purpose and permitted environments.
  Distinguish service administrators, secret administrators and workload readers.
- Authenticate a consumer before releasing a credential and restrict disclosure
  to its required scope. A shared credential must have an explicit justification
  and a plan for attributing and ending its use.
- Support replacement and retirement with a consumer adoption check. A rotation
  is incomplete while consumers still depend on the superseded credential.
- Record access and administration events without recording secret values.
  Evidence must identify coverage gaps and retention ownership.
- Preserve recovery access and required key material through the failure being
  recovered. Demonstrate that restored consumers can authenticate and that removed
  consumers do not regain access through restored historical configuration.

## Constraints

Secret values must not enter Git, container images, architecture notes, build logs
or unrestricted evidence bundles. References and delivery contracts belong in
source; confidential values require an authorized delivery path.

**Documented boundary:** Kubernetes warns that upstream Secrets are stored
unencrypted in etcd by default, and that authority to create Pods can provide
indirect access to Secrets in that namespace (P1). A Secret object is therefore
not proof of encrypted storage or tenant isolation. The intended OpenShift
configuration, workload permissions and administrator boundary remain unverified.

**Proposed requirement:** a synchronized credential needs protection both in its
central store and after materialization. Document encryption, access, rotation,
backup and deletion at every copy. Do not describe synchronization as eliminating
Kubernetes Secret objects or preventing every authorized workload from reading them.

## Service Description

A consumer requests access using its assigned identity; the service checks its
policy and supplies a narrowly scoped credential through the agreed interface.
The consuming application remains responsible for safe use, reload behavior and
avoiding accidental disclosure. Secret administration owns issuance and retirement;
the application/service owner owns adoption and the business permission attached
to that credential. These are roles to assign, not existing organizational mandates.

For [Quay](../Registry/red-hat-quay.md), distinguish stored robot credentials,
database/object-store credentials and configuration or signing keys. The existing
[runtime research](../Registry/research-runtime-boundaries.md#state-and-recovery)
identifies configuration/generated keys among recovery inputs. Replacing a
password and rotating a signing key may have different effects and must not share
an assumed rollback procedure.

### Failure and Recovery Boundaries

Agree behavior when the store is unavailable, a credential expires, synchronization
lags, or a consumer cannot reload. If caching is allowed, bound its lifetime and
revocation consequences. Automatic fallback to an unmanaged static credential is
not part of this proposal. Emergency access requires an accountable authorization,
limited duration, evidence and subsequent credential review.

**Architectural inference:** central rotation can break a healthy consumer if
replacement and adoption are not coordinated. Acceptance should exercise both
overlap during replacement and refusal of the old credential afterward. Recovery
must account for the store's own bootstrap authentication and unseal/decryption
dependencies; an instruction to retrieve everything from the unavailable store
does not establish recovery independence.

## Interfaces

[Automation](../Automation/intent-to-runtime.md) needs a controlled credential
delivery path and redacted execution evidence. The consumer contract must describe
how a credential is requested, replaced, adopted and retired.

## Dependencies

Consumer authentication relies on the [identity contract](../Identity/federated-authentication.md),
and protected endpoints rely on [certificate lifecycle](../Certificates/certificate-lifecycle.md).
[Coordinated recovery](../Recovery/coordinated-recovery.md)
must identify recoverable state and independent access. These are proposed interface
allocations; no mandatory dependency graph or implementation is asserted.

## Roadmaps

First agree one consumer, credential scope and failure contract. Next evaluate a
concrete solution and an authorized rotation/recovery scenario.

## Landing Locations

Permitted hosting locations, service targets and support ownership remain open.

## Available SBBs

[OpenBao](openbao.md) is now an authored draft SBB for the assignment's direction:
consume the existing external service initially, with DCS hosting as a later
transition. Its `realizes` relationship links back here. This is not evidence of
current consumer access or a decision to migrate the service before March.

## EIRA Alignment

EIRA mapping and applicable security-policy assessment are not established here.

## Evidence, Review and Next Questions

Whole-note documentation review: **2026-10-05 (Europe/Amsterdam)**, covering the
narrative, linked contracts and the public source below. No live controls,
credentials, policy compliance or recovery test were inspected.

- **P1 — current upstream guidance:** [Kubernetes Secrets, introduction and cautions](https://kubernetes.io/docs/concepts/configuration/secret/),
  consulted 2026-10-05. Floating documentation; it does not establish the target
  OpenShift release or effective configuration.
- **Historical provenance:** `rws-arch-wb` commit
  `d224d15b83a46834560c3a3c7ecd3052ebc2b4f9`,
  `RWS-ARCH/70-togaf/abb/secrets-management.md` lines 27–41 and
  `RWS-ARCH/80-workpackages/wp-03-trust-and-secret-services.md` lines 23–47.
  These informed subject selection; their owners, product choices and acceptance
  claims are not carried forward as authority.

Open questions: who authorizes disclosure and emergency access; which credentials
require dynamic issuance versus controlled replacement; what exposure/caching
window is acceptable; and what evidence proves consumer adoption and revocation?
Use the next solution investigation to refine [Q6](../Registry/review-questions.md#q6)
and [Q7](../Registry/review-questions.md#q7), without treating a stored credential
as proof of permitted action or trusted content.