Skip to content

Commit 13a578a

Browse files
authored
Update getting_started.md
1 parent 2442481 commit 13a578a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

panel/1.0/getting_started.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,31 @@ php artisan key:generate --force
137137
```
138138

139139
::: danger
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 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.
142142
:::
143143

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+
144165
### Environment Configuration
145166

146167
Pterodactyl's core environment is easily configured using a few different CLI commands built into the app. This step

0 commit comments

Comments
 (0)