-
Notifications
You must be signed in to change notification settings - Fork 7
Accessing the Third‐Party APIs Locally
Aman Kumar [SSW] edited this page Aug 3, 2023
·
4 revisions
On production, we are using Azure Key Vault to access our secrets using process.env.VARIABLE_NAME
, but to run it locally, we need to set up the following things.
- Create a file named
.env
in the root directory of your project.
Figure: .env
file in the root directory of our project
- Add the environment variables for the API.
Figure: Variables in the
.env
- The variables can be found in our Keeper: Client Secrets | SSW | SSW.Website-v3 | Power Automate - Environment variables
Figure: Secrets in the Keeper