Skip to content

MOD ISE 006 KEY

Domain specifications / D02-ISE / 5. Detailed Functional Requirements / 5.6 Module Specification: Secrets, Certificates, Encryption and Key Management

5.6 Module Specification: Secrets, Certificates, Encryption and Key Management

5.6.1 Module Overview

Module ID: MOD-ISE-006

Purpose: Protect credentials and cryptographic material through controlled storage and rotation, encrypt sensitive data in transit and at rest, and authenticate nodes on system-to-system interfaces.

Business Capabilities: - CAP-ISE-009 Cryptographic protection and trust

Primary Actors: - Security Engineer (ACT-ISE-004) - Platform Engineer / SRE (ACT-ISE-001) - Workload (ACT-ISE-010)

Dependencies: - Domain 10 (ESS) service identity - MOD-ISE-001 (platform), MOD-ISE-009 (key recovery for backups)

5.6.2 Functional Areas

Functional Area ID: FA-ISE-013 Secret, key and certificate lifecycle

Description: Storage, issuance, distribution, rotation, revocation and recovery of secrets, keys, certificates and service credentials.

Scope: - Included: controlled store, rotation policy, expiry monitoring, separation of duties. - Excluded: issuance of human user credentials (Domain 10).

Functional Area ID: FA-ISE-014 Encryption and node authentication

Description: Encryption of sensitive data in transit and at rest and mutual authentication of nodes.

Scope: - Included: approved cryptographic configurations, coverage verification, mutual TLS for system-to-system interfaces where appropriate. - Excluded: creation of audit records about data access (Domain 10).

5.6.3 Detailed Requirements

Requirement FR-ISE-KEY-001: Controlled Storage and Rotation of Secrets, Keys and Certificates

Attribute Description
Requirement ID FR-ISE-KEY-001
Requirement Name Controlled storage and rotation of secrets, keys and certificates
Requirement Type Functional
Module Secrets, Certificates, Encryption and Key Management
Functional Area FA-ISE-013 Secret, key and certificate lifecycle
Priority Must
Criticality Critical
Requirement Status Draft
Source SEC-009; PRS section 4.2 (service identities scoped, rotated and separately audited)
Related Business Rule BR-ISE-014
Related Workflow WF-ISE-007

1. Requirement Statement

The system shall store secrets, keys, certificates and service credentials in a controlled store and rotate them through controlled mechanisms, and shall not permit them to be held in source code or plain configuration.

2. Business Rationale

Leaked or long-lived credentials are a primary route to compromise of clinical systems and data.

3. Actors and Permissions

Actor Permission Conditions
Security Engineer Create / Update / Revoke items and rotation policies Separation of duties: key custodians do not administer the data the keys protect
Workload Read only the items bound to its identity At runtime, through the controlled mechanism
Platform Engineer / SRE Read metadata; trigger rotation No read of secret values unless explicitly granted
Backup and Recovery Operator Recover keys for restore Recovery-zone procedure; dual control

4. Preconditions - Each item has an owner and a rotation policy.

5. Trigger - Item creation; rotation interval reached; expiry warning; suspected compromise.

6. Functional Behaviour

  1. The store shall hold items encrypted, release them only to authenticated identities with an explicit grant, and record every access.
  2. Workloads shall obtain secrets at runtime from the store; secrets shall not appear in source, images, manifests or logs.
  3. Each item shall have a rotation interval; the store shall rotate automatically where the consumer supports it and otherwise raise a rotation task.
  4. The store shall track certificate expiry and raise a warning within the configured window.
  5. Rotation shall support an overlap period so that consumers switch without interruption.
  6. Revocation shall take effect immediately and shall be published to dependent nodes.
  7. Key recovery procedures shall exist, be tested, and require dual control. A key recovery is requested by the Backup and Recovery Operator and confirmed by a second authorized person before it runs; both are recorded on the secret and certificate inventory (UI-ISE-008).
  8. Secret scanning (FR-ISE-REL-001) shall detect secrets in repositories; a detected secret shall be treated as compromised.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Item type and name Enumeration / string Yes Unique Secret, key, certificate or service credential
Owner Reference Yes Active team Accountable owner
Rotation interval / validity Duration Yes Not longer than policy maximum (CFG-ISE-014) Rotation policy
Access grants List of identities Yes Least privilege Who may read

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-KEY-001-1 Access by an identity without a grant Denied; security event
PR-KEY-001-2 Item past rotation interval Rotation task or automatic rotation; overdue items reported
PR-KEY-001-3 Secret value written to a log by a platform component Redacted by the logging pipeline; defect raised

9. Output Requirements

Output Format Recipient Description
Secret or key material Opaque Authorized workload Runtime delivery only
Expiry and rotation report Report Security Engineer; owners Items due, overdue, rotated
Key recovery record Structured Security Engineer; Backup and Recovery Operator Item, reason, requester, second authorizer, time and outcome; shown on UI-ISE-008

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Store unavailable Dependency health Workloads continue with already-loaded material for a bounded period; new starts may fail; high-severity alert Restore store (Tier 1 platform dependency)
Rotation breaks a consumer Post-rotation verification Overlap extended; alert Fix consumer

11. State and Lifecycle Behaviour

Items are Active, Expiring, Rotated, Revoked or Expired. A certificate is Requested until it is issued and its trust chain is validated (certificate states in section 4.3).

12. Audit Requirements

Every access, creation, rotation, revocation and recovery is recorded with identity, time, item reference and outcome. Values are never recorded.

13. Security and Privacy Requirements

The store is a Tier 1 platform dependency in the data or management zone, with separate administration and dual control for master keys.

14. Acceptance Criteria

  • AC-01: Given repositories and deployed configuration, when secret scanning runs, then no secret is present (SEC-009).
  • AC-02: Given a rotation test for a service credential and a certificate, when rotation is executed, then consumers continue without interruption and the old material no longer authenticates.
  • AC-03: Given an identity without a grant, when it requests a secret, then access is denied and logged.
  • AC-04: Given a certificate within its warning window, when monitoring runs, then an expiry notice is raised to its owner.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • Rotation intervals and warning windows are not given in the sources; common-practice defaults are set in CFG-ISE-013 and CFG-ISE-014.

Requirement FR-ISE-KEY-002: Encryption in Transit and at Rest

Attribute Description
Requirement ID FR-ISE-KEY-002
Requirement Name Encryption in transit and at rest
Requirement Type Functional
Module Secrets, Certificates, Encryption and Key Management
Functional Area FA-ISE-014 Encryption and node authentication
Priority Must
Criticality Critical
Requirement Status Draft
Source SEC-005; PRS section 8.2; BCP-003 (encrypted backups)
Related Business Rule BR-ISE-015
Related Workflow WF-ISE-007

1. Requirement Statement

The system shall encrypt sensitive data in transit and at rest using approved cryptographic configurations, including service-to-service traffic, external exchange, data stores, queues, object storage, backups and offline caches.

2. Business Rationale

Health data must remain confidential and unaltered if a network path, storage medium or backup is exposed.

3. Actors and Permissions

Actor Permission Conditions
Security Engineer Create / Update approved cryptographic configurations Approved by security and privacy office
Platform Engineer / SRE Apply configurations Through reviewed definitions

4. Preconditions - The approved cryptographic configurations of section 9.7 are loaded as technical reference data.

5. Trigger - Provisioning of a data store, channel or backup target; periodic coverage scan.

6. Functional Behaviour

  1. All service-to-service communication shall use authenticated, authorized, encrypted channels.
  2. All external and user-channel traffic shall be encrypted in transit; unencrypted endpoints shall not be exposed.
  3. All stores holding Confidential or Sensitive data, including queues, logs with patient references, object storage and backups, shall be encrypted at rest with keys managed under FR-ISE-KEY-001.
  4. The platform shall refuse to provision a store or endpoint that does not meet the approved configuration.
  5. The platform shall continuously report encryption coverage and flag deviations.
  6. Deprecated algorithms or protocol versions shall be removable by configuration change.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Resource definition Structured Yes Encryption settings match approved configuration Store or endpoint
Key reference Reference Yes Key exists and is Active Managed key

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-KEY-002-1 Resource defined without encryption Provisioning refused by policy check
PR-KEY-002-2 Connection attempt with a non-approved protocol version or cipher Refused

9. Output Requirements

Output Format Recipient Description
Encryption coverage report Report Security office; acceptance authority Coverage by store and channel, deviations; shown as a view on the secret and certificate inventory (UI-ISE-008)

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Legacy partner cannot meet approved configuration Policy Connection refused unless an approved, compensated exception is recorded (for example an authenticated encrypted tunnel) Refer to security office
Key unavailable for a store Key status Store access fails closed; alert Restore key service

11. State and Lifecycle Behaviour

Cryptographic configurations are versioned with Active and Deprecated states and a migration deadline.

12. Audit Requirements

Changes to cryptographic configurations and approved exceptions are recorded with approver and expiry.

13. Security and Privacy Requirements

This requirement is itself the control. Exceptions are time-bound and risk-accepted.

14. Acceptance Criteria

  • AC-01: Given configuration review and penetration tests, when encryption coverage is verified, then all sensitive data in transit and at rest is encrypted with approved configurations (SEC-005).
  • AC-02: Given a definition for an unencrypted data store, when provisioning is attempted, then it is refused.
  • AC-03: Given service-to-service traffic in the application zone, when inspected, then it is encrypted and mutually authenticated where policy requires.

15. Dependencies and Integration

  • Upstream dependencies: FR-ISE-KEY-001.
  • Downstream dependencies: all modules and domains.
  • Required events or APIs: none.

16. Open Questions / Assumptions

  • The approved cryptographic configurations are set in section 9.7: TLS 1.3 preferred and TLS 1.2 minimum with AEAD suites, AES-256-GCM at rest (GAP-ISE-003, closed).

Requirement FR-ISE-KEY-003: Node Authentication for System-to-System Interfaces

Attribute Description
Requirement ID FR-ISE-KEY-003
Requirement Name Node authentication for system-to-system interfaces
Requirement Type Functional
Module Secrets, Certificates, Encryption and Key Management
Functional Area FA-ISE-014 Encryption and node authentication
Priority Must
Criticality High
Requirement Status Draft
Source SEC-018; PRS section 9.2 (IHE profiles)
Related Business Rule BR-ISE-015
Related Workflow WF-ISE-001, WF-ISE-007

1. Requirement Statement

The system shall support IHE ATNA-aligned node authentication, including mutual TLS for system-to-system interfaces where appropriate, so that only trusted nodes can connect and node certificates are rotated and revoked under policy.

2. Business Rationale

Interfaces to laboratories, imaging systems, devices and partners must not accept data from, or disclose data to, an unverified system.

3. Actors and Permissions

Actor Permission Conditions
Security Engineer Create / Update / Revoke node certificates and trust anchors
Integration Engineer Bind certificates to interface registrations
External Partner System Present node certificate Registered

4. Preconditions - The interface registration states node authentication as its authentication method.

5. Trigger - A connection attempt on a system-to-system interface.

6. Functional Behaviour

  1. The platform shall require both ends of a designated interface to authenticate with certificates chaining to a trusted anchor.
  2. The platform shall check certificate validity and revocation status at connection.
  3. The platform shall bind each node certificate to a registered interface and refuse a valid certificate presented on an interface it is not bound to.
  4. The platform shall rotate node certificates before expiry (WF-ISE-007) and publish revocations.
  5. Connection successes and failures shall be forwarded as node authentication events to the Domain 10 audit service and to security monitoring.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Node certificate Certificate Yes Chain, validity, revocation, binding Peer identity
Trust anchor set Certificates Yes Maintained by Security Engineer Trusted issuers

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-KEY-003-1 Expired, revoked or untrusted certificate Connection refused; event logged
PR-KEY-003-2 Certificate not bound to the interface Connection refused

9. Output Requirements

Output Format Recipient Description
Node authentication event Audit event Domain 10 audit service; SIEM Node, interface, outcome, time

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Revocation status unobtainable Revocation check Fail closed for external nodes; configurable grace for internal Tier 1 paths with alert Restore revocation service
Partner certificate changed without notice Binding check Refused; partner contact notified Update registration

11. State and Lifecycle Behaviour

Certificate lifecycle as in section 4.3.

12. Audit Requirements

All node authentication outcomes and certificate lifecycle actions are recorded.

13. Security and Privacy Requirements

Private keys never leave the controlled store or the node's protected storage.

14. Acceptance Criteria

  • AC-01: Given an untrusted node, when it attempts to connect to a protected interface, then the connection is refused (SEC-018).
  • AC-02: Given a revoked certificate, when its node attempts to connect, then the connection is refused.
  • AC-03: Given a certificate rotation, when completed, then the interface continues to operate and the old certificate is rejected.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • SEC-018 also covers audit requirements of the same profile; creation and storage of audit records is Domain 10. Which interfaces require mutual TLS ("where appropriate") is decided per interface registration (CFG-ISE-029; ASM-ISE-005).

← 5.5 Module Specification: Infrastructure-as-Code, CI/CD and Release | Contents | Identifier index | 5.7 Module Specification: Network Segmentation, Endpoint and Workload Protection →