Skip to content

Feature keystore#19

Merged
warkanum merged 5 commits intomainfrom
feature-keystore
Apr 9, 2026
Merged

Feature keystore#19
warkanum merged 5 commits intomainfrom
feature-keystore

Conversation

@warkanum
Copy link
Copy Markdown
Member

@warkanum warkanum commented Apr 9, 2026

Add a Keystore per user.

Hein added 5 commits April 7, 2026 17:09
* Add ConfigKeyStore for in-memory key management
* Introduce DatabaseKeyStore for PostgreSQL-backed key storage
* Create KeyStoreAuthenticator for API key validation
* Define SQL procedures for key management in PostgreSQL
* Document keystore functionality and usage in KEYSTORE.md
* Added a database factory function to allow reconnection when the database is closed.
* Implemented mutex locks for safe concurrent access to the database connection.
* Updated all database query methods to handle reconnection attempts on closed connections.
* Enhanced error handling for database operations across multiple providers.
* Implement BuildJSONToDBColumnMap for translating JSON keys to DB column names
* Enhance GetColumnName to extract column names with priority
* Update filterValidFields to utilize new mapping for improved data handling
* Fix TestToSnakeCase expected values for consistency
Copy link
Copy Markdown
Member Author

@warkanum warkanum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@warkanum warkanum merged commit 17808a8 into main Apr 9, 2026
6 checks passed
@warkanum warkanum deleted the feature-keystore branch April 9, 2026 13:50
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