smtp password in a secrets file instead of the .env #5188

Closed
opened 2026-02-05 09:46:59 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @barrio5 on GitHub (Feb 19, 2025).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hi,

I don’t want my smtp password to be visible in the .env file. Is there way to solve this issue like e.g. referencing a secrets file?

Exact BookStack Version

v24.10

Log Content

No response

Hosting Environment

LXC Installation

Originally created by @barrio5 on GitHub (Feb 19, 2025). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario Hi, I don’t want my smtp password to be visible in the .env file. Is there way to solve this issue like e.g. referencing a secrets file? ### Exact BookStack Version v24.10 ### Log Content _No response_ ### Hosting Environment LXC Installation
OVERLORD added the 🐕 Support label 2026-02-05 09:46:59 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 19, 2025):

Hi @barrio5,

We don't support any specific means of secrets storage like that.
BookStack will take any .env options from the environment though, so you might be able to find an alternative/external solution that provides the desired value/option as an env option to the webserver/php process.

@ssddanbrown commented on GitHub (Feb 19, 2025): Hi @barrio5, We don't support any specific means of secrets storage like that. BookStack will take any `.env` options from the environment though, so you might be able to find an alternative/external solution that provides the desired value/option as an env option to the webserver/php process.
Author
Owner

@barrio5 commented on GitHub (Feb 19, 2025):

Thanks for the fast reply.

@barrio5 commented on GitHub (Feb 19, 2025): Thanks for the fast reply.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5188