---
description: "Set environment variables on a Verda instance at boot using startup scripts, so that credentials and paths are ready before your workload even begins."
revision_date: 04.08.2026
---

# Setting environment variables on startup

To have environment variables be set after each login the script with this format must be put as a startup script:

```bash
#!/bin/bash

cat << 'EOF' >> /etc/environment
SECRET1='SECRET1VALUE'

SECRET2='SECRET2VALUE'
EOF
```

