aws-amplify / aws-amplify/amplify-hosting

Using KMS or Parameter Store values in a FRONTEND amplify app?

Open
#2,874 2 comments 1 reaction 1 assignee Claimed by @josefaidt View on GitHub
documentation question
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

We are hosting a react app on amplify with no backend.

I see in the docs that you can use Parameter Store but it seems like that's only for backend applications?

https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html#access-env-vars

Is there anyway to get these into a frontend application? Maybe during a build? These env vars are purely for the frontend and no a security concern.

This is tangentially related to using doppler for env variables. Basically, the vars are synced between doppler and parameter store, but now I'm unclear how to get them into the runtime or build for the frontend amplify application.

Also open to ideas how to get them straight from doppler into amplify, if there's a way to bypass parameters/KMS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.