Secret refers to any sensitive values that are not supposed to be pushed as part of the source code. This can be things like API keys, OAuth tokens, certificates, and passwords. This article shows you a technique to easily use Angular’s environment.ts file to access sensitive data.

•6m read time•From javascript.plainenglish.io
Post cover image
Table of contents
How to Keep Your Secrets from Your Source Code in an Angular Project 🤫What is a secret?Why should you care about secrets?Utilise Angular environment.ts file to access secretsSolutionHow to access the Environment variable in Angular environment.ts files?Automate itConclusionResourcesContact

Sort: