Relative Content

Tag Archive for angularamazon-ecsaws-secrets-managerangular-ssr

How to Access Environment Variables in a Standalone Component in an ECS Container with AWS Secrets Manager?

I’m working on an Angular application where I need to access environment variables within a standalone component. The main challenge is that these environment variables are only available at runtime, injected into the container from AWS Secrets Manager during the containerisation process. I initially tried using Angular’s Transfer State, but it requires the environment variables to be present at build time, which isn’t feasible in this scenario.