Container Secret Injection via Metadata-Defined Runtime Provisioning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current processes for providing secrets to containers during instantiation face security issues, complexity, and lack of standardization, leading to insecure storage and transmission of sensitive information, as well as errors due to manual handling and varied developer implementations.

Innovation Solution

A method for dynamic runtime information provisioning in container management systems, which includes identifying and managing secret subunits within container images, allowing for automated and standardized injection of secret values using metadata-defined mechanisms, ensuring secure and per-instance configuration of secrets.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If secrets are manually provided to containers during instantiation, then flexibility in secret management is maintained, but security is compromised and errors increase due to manual handling

Engineering Contradiction:
ImprovesecurityVSAvoidmanual handling complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system enables self-service secret injection where the container management system automatically retrieves secrets from a secure store and injects them into containers during instantiation without requiring manual intervention. The container image metadata automatically defines the secret requirements, and the system self-provisions the secrets accordingly.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

A secure secret store acts as an intermediary between the container management system and the secrets. The secret store securely stores secret values and provides them to containers through controlled access mechanisms, eliminating the need for manual secret handling while maintaining security.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If secrets are stored in container images, then secret management is simplified, but security is compromised due to insecure storage and transmission

Engineering Contradiction:
Improvesecret management simplicityVSAvoidsecurity
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The secret values are extracted from the container image structure and stored separately in a secure secret store. The container image retains only metadata definitions of required secrets, while the actual secret values are kept secure in the secret store and injected at runtime, preventing insecure storage in images.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary actions by pre-defining secret requirements in the container image metadata and pre-configuring the secret store with required secrets before container instantiation. This allows automated secret injection without manually provisioning secrets at runtime.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If different developers use varied implementations for secret provisioning, then customization is possible, but standardization is lost leading to complexity and errors

Engineering Contradiction:
Improvecustomization flexibilityVSAvoidprovisioning process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements a universal secret injection mechanism that works across all container images through a standardized metadata format. The secret subunit structure provides a multi-functional framework that can handle different secret types (environment variables, files, command-line arguments) while maintaining a single standardized process.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

Each container image can define its specific secret requirements through localized metadata in the secret subunit, specifying secret names, destinations, and formats. This allows customization at the local container level while maintaining global standardization through the unified secret injection framework.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10761871B2Method and apparratus for secrets injection into containers
Publication Date: 2020.09.01 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US10761871B2 patent drawing
  • US10761871B2 patent drawing
  • US10761871B2 patent drawing

AI summary

A method and system for managing dynamic runtime information provision for containers in a container management system. The method includes starting a container image load, determining whether a secret sub unit is present in the container image, determining secret value input source and destination of secret value, and providing secret values to destination sub unit of a container defined by the container image.