1
Create Environment File
Create a
.env
file in your workspace to store your environment variables:2
Add Required Secrets
Add your secrets to the
.env
file:Never commit your
.env
file to version control. Make sure it’s included in your .gitignore
file.3
Advanced: Using AWS SSM Parameter Store
For cloud deployments, consider using a secure method to manage secrets, such as AWS SSM Parameter Store:
You can automate this process by creating a script to fetch secrets during deployment or server startup.
4
Test Environment Configuration
Verify that Oxy can access the environment variables: