I am trying to push client side logs from a static SPA to AWS Cloudwatch, is there a secured way to do so? Even if I design a server-less endpoint e.g. API gateway to capture these logs, where would I be able to store the security credentials so it's not exposed on the client side?
Thank you.