Manage secrets and environment variables for Aiven Runtime Limited availability
Environment variables and secrets let you configure your application at runtime instead of embedding settings and sensitive information into your code. You can use them to pass information like API keys and database connection details to the application. This keeps sensitive data safe and makes it easy to adjust how your application behaves in different setups.
When you edit secrets and environment variables, Aiven redeploys your application with the new configuration. It deploys the same commit from your Git branch that was deployed previously. To deploy the latest commit, you can manually redeploy your app.
- In your project, click Runtime.
- Open your application.
- On the Overview page, go to Environment variables.
- Click Edit.
- To add a secret, on the Secrets tab, click Add secret. To add an environment variable, on the Variables tab, click Add variable.
- Click Save.