mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
Bind SSH fixture private key secret
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
503cd2c726
commit
44404fe836
1 file changed
+7
@@ -118,6 +118,13 @@ describeEmbeddedPostgres("environment runtime driver contract", () => {
|
||||
provider: "local_encrypted",
|
||||
value: config.privateKey,
|
||||
});
|
||||
await secretService(db).createBinding({
|
||||
companyId,
|
||||
secretId: secret.id,
|
||||
targetType: "environment",
|
||||
targetId: environmentId,
|
||||
configPath: "privateKeySecretRef",
|
||||
});
|
||||
config = {
|
||||
...config,
|
||||
privateKey: null,
|
||||
|
||||
Reference in new issue
Block a user