Using secret environment variables in AWS Cognito config file

How can I use Environment Variables for setting the AWS Cognito secret in its config file awsconfiguration.json?
The secret key in the json file should not be committed to the repository, so I need a way to either modify it before the build step and replace the secret key with an environment variable value or add an environment variable key as the secret key value in the file (which I don’t think would work).
Any ideas?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.