Skip to content

feat(config): support mounted secret _FILE values (#436) - #1238

Open
harshitethic wants to merge 1 commit into
useconcord:mainfrom
harshitethic:fix/436-secret-file-config
Open

harshitethic wants to merge 1 commit into
useconcord:mainfrom
harshitethic:fix/436-secret-file-config

Conversation

@harshitethic

Copy link
Copy Markdown
Contributor

Fixes #436. Read CONCORD_RPC_HEADERS_FILE and CONCORD_GOOGLE_CLIENT_SECRET_FILE as alternatives to inline secrets, trimming one trailing newline (including CRLF). Reject conflicting direct/file settings and unreadable paths with errors that do not expose secret contents. Recognize both in the unknown-setting diagnostics and document them in .env.example. Two regression tests cover both secrets, warnings, malformed/conflicting input. Targeted Vitest, API typecheck and ESLint passed locally.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support _FILE variants for secrets (Google client secret, RPC headers) for Docker and Kubernetes secrets

1 participant