feat: 🎸 Add sqlite support for credential stores (#2967)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17416
This commit is contained in:
Zhihe Li committed 2025-09-03 11:41:42 -04:00
1 parent 2154251c30
commit 9e612cf83d
13 files changed
+90 -11

No files matched your search

+15 -1
View File
@@ -49,10 +49,24 @@ export const modelMapping = {
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
'credential-store': {
id: 'id',
type: 'type',
name: 'name',
description: 'description',
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
};
// A list of tables that we support searching using FTS5 in SQLite.
export const searchTables = new Set(['target', 'alias', 'role', 'user']);
export const searchTables = new Set([
'target',
'alias',
'role',
'user',
'credential-store',
]);
export default class SqliteDbService extends Service {
// =attributes