Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Up Data Collection for SAP Cloud ALM in a CAP Application: Replace base64 encoded version of username:password with environment variable #121

Open
gregorwolf opened this issue Nov 16, 2024 · 0 comments

Comments

@gregorwolf
Copy link

Hello SAP BTP CAP Developer Guide Team,

from the page OpenTelemetry@SAP I was pointed to Enable Data Collection for Real User Monitoring and Health Monitoring. There you mention to create a .npmrc file at the root of the Incident Management application and paste the following:

https://73555000100200018064.npmsrv.cdn.repositories.cloud.sap/:_auth=<base64 encoded version of username:password>

I would suggest to replace that with:

https://73555000100200018064.npmsrv.cdn.repositories.cloud.sap/:_auth=${SAP_NPM_AUTH}

so that the credentials are never stored, the .npmrc file can be checked in and the value is set via an environment variable in the build pipeline or localy.

Best Regards
Gregor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant