Commit Graph

21 Commits

Author SHA1 Message Date
Fredrik Adelöw 5e959c9eb6 vault-backend: accept interface, not concrete client
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-14 15:58:09 +01:00
blam f85b100123 chore: fix missing deps
Signed-off-by: blam <ben@blam.sh>
2023-02-17 12:06:59 +01:00
Casper Thygesen a1cbb8d041 GetVaultConfig tests fixed
Signed-off-by: Casper Thygesen <cth@trifork.com>
2022-12-01 15:50:58 +00:00
Casper Thygesen 8f29738d5c Forgot to update getVaultConfig
Signed-off-by: Casper Thygesen <cth@trifork.com>
2022-12-01 15:41:20 +00:00
Casper Thygesen 568ae02463 Added (optional) publicUrl to vault-backend plugin
Signed-off-by: Casper Thygesen <cth@trifork.com>
2022-12-01 10:33:59 +00:00
ivgo 7a3d2688ed Use promise Router & add known error in Vault backend
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-11-21 15:00:45 +01:00
Casper Thygesen bc07e5f1c6 Add default errorHandler() to vault-backend
Right now any uncaught error causes backstarte to crash
We should use `packages/backend-common/src/middleware/errorHandler.ts` middleware like the other backend plugins

Signed-off-by: Casper Thygesen <73483987+cthtrifork@users.noreply.github.com>
Signed-off-by: cthtrifork <cth@trifork.com>
2022-11-08 19:13:49 +00:00
Amresh Hanoeman dae0bbe522 VaultBuilder.tsx renamed to VaultBuilder in order for module to be correctly loaded
Signed-off-by: Amresh Hanoeman <20923769+amreshh@users.noreply.github.com>
2022-10-02 14:58:11 +02:00
Fredrik Adelöw 148568b5c2 Remove usages of cross-fetch in backend packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-23 14:09:38 +02:00
Fredrik Adelöw 3f739be9d9 more api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:16:19 +02:00
df11 87c5c74139 Merge branch 'master' into vault-display-full-secret-name 2022-06-23 15:53:47 +02:00
denis.fortin 7ee4abdcc9 fix(vault-plugin): display full secret name relative to the secret path
Only secret name was displayed in the table. It could be a problem when
secret path has multiple subpath containing secrets with the same name.

Displaying the relative path from secret path configured in the entity
annotation allows to differentiate the secrets in this case.

Signed-off-by: denis.fortin <denis.fortin@adevinta.com>
2022-06-23 15:49:39 +02:00
ivgo 5ebf2c7023 Use p-limit to list secrets, update api-report & add changesets
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-16 12:42:56 +02:00
ivgo cec1cd4578 Add requested improvements to vault plugin
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-16 09:44:29 +02:00
ivgo 655a8d46d8 Fix codeQL error using URL params as part of the URL & remove commit added by mistake
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo d331cecc2e Fix some final issues
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo 3cde8e19d9 Use best practices in express responses
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo 5ca80ad935 Apply changes, update tests & change vault icon temporarilly
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo 296bfcb1fd Fix some typos and other requested changes
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo 477061a096 Added tests to plugin vault & vault-backend
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00
ivgo 09f1256a85 First implementation of vault-plugin
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2022-06-07 11:02:56 +02:00