Configure Environment
Setting up environment variables and secrets management
Properly configuring your environment variables and managing secrets is crucial for a secure Oxy deployment.
Create Environment File
Create a .env
file in your workspace to store your environment variables:
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.
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.
Test Environment Configuration
Verify that Oxy can access the environment variables:
With your environment properly configured, you can proceed to set up authentication if required.