Skip to content

Conversation

@julwrites
Copy link
Owner

No description provided.

This commit introduces a new centralized secrets management package that handles secrets from Google Secret Manager, .env files, and environment variables.

The new `pkg/secrets` package provides a unified `Get` function that abstracts away the details of where secrets are stored. It prioritizes Google Secret Manager in production and CI environments, and falls back to .env files and environment variables for local development.

The existing `api_client` and `database` packages have been refactored to use the new secrets handler. The test suite has been updated to ensure that all tests are properly isolated and that the new secrets management system is thoroughly tested.
This commit introduces a new centralized secrets management package that handles secrets from Google Secret Manager, .env files, and environment variables.

The new `pkg/secrets` package provides a unified `Get` function that abstracts away the details of where secrets are stored. It prioritizes Google Secret Manager in production and CI environments, and falls back to .env files and environment variables for local development.

The existing `api_client` and `database` packages have been refactored to use the new secrets handler. The test suite has been updated to ensure that all tests are properly isolated and that the new secrets management system is thoroughly tested.
@julwrites julwrites merged commit a94ead2 into staging Nov 26, 2025
1 check passed
@julwrites julwrites deleted the refactor/secrets-management branch November 26, 2025 02:53
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.

2 participants