Skip to content

feat: update user secrets queries for REST API and injection#23998

Draft
zedkipp wants to merge 1 commit intomainfrom
zedkipp/plat-80-user-secrets-db-queries
Draft

feat: update user secrets queries for REST API and injection#23998
zedkipp wants to merge 1 commit intomainfrom
zedkipp/plat-80-user-secrets-db-queries

Conversation

@zedkipp
Copy link
Copy Markdown
Contributor

@zedkipp zedkipp commented Apr 2, 2026

  • Switch all lookups and mutations from ID-based to user_id + name
  • Split list query into metadata-only (for API responses) and with-values (for provisioner/agent)
  • Add partial update support using CASE WHEN pattern for write-only value fields
  • Include value_key_id in create for dbcrypt encryption support
  • Update dbauthz wrappers and remove stale methods from dbmetrics

…njection

- Switch all lookups and mutations from ID-based to user_id + name
- Split list query into metadata-only (for API responses) and with-values (for provisioner/agent)
- Add partial update support using CASE WHEN pattern for write-only value fields
- Include value_key_id in create for dbcrypt encryption support
- Update dbauthz wrappers and remove stale methods from dbmetrics
@github-actions github-actions bot added the community Pull Requests and issues created by the community. label Apr 2, 2026
@zedkipp zedkipp removed the community Pull Requests and issues created by the community. label Apr 2, 2026
@zedkipp zedkipp changed the title feat(coderd/database): update user secrets queries for REST API and injection feat: update user secrets queries for REST API and injection Apr 2, 2026
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