Skip to content

Logging: Make startup API key logging configurable via logging.log_api_keys - #505

Open
treo wants to merge 1 commit into
theroyallab:mainfrom
treo:treo/config-api-key-logging
Open

treo wants to merge 1 commit into
theroyallab:mainfrom
treo:treo/config-api-key-logging

Conversation

@treo

@treo treo commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Logging the API keys is nice for getting started, but in general a bad practice.

This PR allows disabling the logging. The default keeps the existing behavior, and anyone who cares can disable it.

…i_keys

Defaults to True to keep previous behavior. When off, the API and
admin keys are no longer printed to the console on startup; they
remain readable from api_tokens.yml.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant