White Paper Vol. 1, Issue 1 2025

Sharing Secrets Between MFE Artifacts

Sameena Begam (Savukath Ali)
Published November 2025

Abstract

Modern web applications increasingly adopt Micro Frontend (MFE) architectures to achieve scalability, maintainability, and team autonomy. However, this distributed approach introduces significant challenges in managing sensitive information such as authentication tokens, API keys, and configuration secrets across multiple independent frontend artifacts. Traditional methods often result in secret duplication, synchronization issues, and increased security vulnerabilities, creating operational overhead and compliance risks. This paper presents a centralized secret management solution designed specifically for MFE environments, utilizing YAML configuration files and automated deployment pipelines to establish secure parent-child relationships between artifacts. The proposed methodology eliminates the need for manual secret replication across multiple repositories by implementing a single source of truth for distributing sensitive data. Through programmatic secret sharing, the solution maintains consistency across all MFE components while preserving user session integrity and authentication state. The implementation involves creating environment-specific YAML configuration files in parent artifacts, defining deployment relationships through pipeline manifests, and leveraging automated distribution mechanisms to propagate secrets to child MFEs. This approach significantly reduces maintenance overhead, minimizes security attack surfaces, and streamlines secret rotation processes across the entire application ecosystem.

Keywords

Cloud Computing Software Engineering Computer Networks

Paper Preview