You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Back up your encryption key (APP_KEY in the `.env` file). It is used as an encryption key for all data that needs to be stored securely (e.g. api keys).
141
-
Store it somewhere safe - not just on your server. If you lose it all encrypted data is irrecoverable -- even if you have database backups.
140
+
Back up your encryption key (APP_KEY in the `.env` file). It is used as an encryption key for all data that needs to be stored securely (e.g. API keys).
141
+
Store it somewhere safe - not just on your server. If you lose it, all encrypted data is irrecoverable, even with database backups.
142
142
:::
143
143
144
+
To grab your APP_KEY, open a terminal and run the following in your panel directory:
145
+
146
+
```bash
147
+
cd /var/www/pterodactyl
148
+
grep APP_KEY .env
149
+
```
150
+
151
+
You should see something like:
152
+
153
+
```text
154
+
APP_KEY=base64:YOUR_LONG_RANDOM_STRING
155
+
```
156
+
157
+
Copy that entire line and save it somewhere secure:
158
+
- A password manager
159
+
- An encrypted file on your local machine
160
+
- A secure USB drive
161
+
- A trusted cloud vault
162
+
163
+
Do not keep it only on the server. If you lose this key, your encrypted data is permanently unrecoverable.
164
+
144
165
### Environment Configuration
145
166
146
167
Pterodactyl's core environment is easily configured using a few different CLI commands built into the app. This step
0 commit comments