temporalio / temporalio/temporal

PostgreSQL password in config file

Open
#6,946 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Hello!

Thank you very much for such an amazing program!

Could you please help me with the following question?

I am running Temporal using systemctl with a connection to PostgreSQL. I have configured everything according to the documentation, and it works perfectly!

However, I have one concern. I really don’t like storing the database password in the configuration YAML file.
How can I configure Temporal, when running it via a systemd unit, so that it retrieves the PostgreSQL password from an environment variable? I’ve tried all possible options but haven’t had any success so far.

I would greatly appreciate your help. Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are mentioned. Start by reviewing Temporal's PostgreSQL configuration and systemd deployment documentation, then determine whether an environment-variable password is supported and document the correct configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases, devops, security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.