eas-cli/0.35.0
Hi,
I was trying to build my application using EAS and Hermes, but upon running the build, I am getting,
"Error: Unable to resolve module ./src/aws-exports from /build/workingdir/build/App.js: "
FYI, aws-exports holds all the credentials for the aws amplify configured in the app.
What Should i do in order to resolve this issue?
you probably don’t commit aws-exports to git
Yes, but i need to include the aws credentials in the App build, right? How am I going to handle that?
Also, If I remove aws-exports from git.ignore then can there be any security issues as this file contains all sensitive credentials.
either add it to git or use secrets Environment variables and secrets - Expo Documentation - or however else you would prefer to do this on another ci service.
wodin
November 12, 2021, 3:34pm
5
I’ve never used AWS Amplify, so don’t necessarily take my word for this but I think the following might answer your question:
opened 05:05AM - 08 Jan 19 UTC
closed 04:31PM - 21 Jan 19 UTC
question
Cognito
pending-close-response-required
Hi,
I'm checking how to create login system with using react, and AWS cognito… .
I just care about security risk which is caused by publish cognito userPoolId, userPoolWebClientId, identityPoolId on aws_exports.js file.
We can check it with developer tool on browsers.
But I think we can't do any admin operation like delete user or change settings
with only these information.
Is my recognition correct?
If you know any way to hide these Id informations on browser,
would you tell me about that?
Thanks in advance.
But I think it would still be better to use secrets
as suggested by @notbrent .
system
Closed
December 2, 2021, 3:35pm
6
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.