Skip to content

Make system.secret-key configurable via environment #1226

@glensc

Description

@glensc

Problem Statement

I would like to keep sentry/config.yml in a git repository and share it with two instances: https://sentry.test.onpremise.example.com and https://sentry.production.onpremise.example.com. committing value of system.secret-key is not appropriate there.

Solution Brainstorm

There's sentry/sentry.conf.py python code, which imports a bunch of stuff from the environment, why can't that key also be there?

An alternative would be to place the secret key to a file, for example: sentry/secret-key

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions