feat: 🎸 Add sqlite support for auth methods (#2969)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17418
This commit is contained in:
Zhihe Li committed 2025-09-03 11:41:42 -04:00
1 parent ba7b8b8824
commit c2b0f321de
17 files changed
+227 -30

No files matched your search

+10
View File
@@ -65,6 +65,15 @@ export const modelMapping = {
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
'auth-method': {
id: 'id',
type: 'type',
name: 'name',
description: 'description',
is_primary: 'is_primary',
scope_id: 'scope.scope_id',
created_time: 'created_time',
},
};
// A list of tables that we support searching using FTS5 in SQLite.
@@ -75,6 +84,7 @@ export const searchTables = new Set([
'user',
'credential-store',
'scope',
'auth-method',
]);
export default class SqliteDbService extends Service {